变量定义错误
文章目录
reason: '[<MLDataModel 0xb586180> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key IsAdmin.’
将MLDataModel中变量IsAdmin
从定义
@property (nonatomic, assign)BOOL *IsAdmin;
改为
@property (nonatomic,copy)NSString *IsAdmin;

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论