标签:ios8 nsuserdefaults mutablearrayvalueforkey:
获取nsmutablearray会有问题
得通过一下方法
NSMutableArray *array = [[userDefaults objectForKey: @"key"] mutableCopy];
或者
先读出NSArray对象,然后NSMutableArray* mutableArray = [NSMutableArray arrayWithArray: array]
IOS8 NSUserDefaults mutableArrayValueForKey:
标签:ios8 nsuserdefaults mutablearrayvalueforkey:
原文地址:http://4223840.blog.51cto.com/4213840/1554713