美文网首页
Attempt to insert non-property l

Attempt to insert non-property l

作者: nick5683 | 来源:发表于2022-05-18 16:36 被阅读0次

原因:NSUserDefaults插入了不识别的数据类型

只支持NSString、 NSNumber、NSDate、 NSArray、NSDictionary、NSData、BOOL、NSInteger、NSFloat等系统定义的数据类型

我保存的是URL,所以程序报错 crash了

相关文章

网友评论

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

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