美文网首页iOS编程iOS必看技术贴
Attempt to insert non-property l

Attempt to insert non-property l

作者: 半夏半暖半倾城灬 | 来源:发表于2019-12-17 09:45 被阅读0次

原因1:NSUserDefaults插入了不识别的数据类型,只支持NSString、 NSNumber、NSDate、 NSArray、NSDictionary、NSData、BOOL、NSInteger、NSFloat等系统定义的数据类型

原因2: NSUserDefaults插入的Key是字符串之外的其他类型

相关文章

网友评论

    本文标题:Attempt to insert non-property l

    本文链接:https://www.haomeiwen.com/subject/wltsnctx.html