变量定义错误

来源:互联网 发布:存放数据库数据的是 编辑:程序博客网 时间:2024/04/30 02:03
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;
0 0
原创粉丝点击