将NSDictionary存储到PAPreferences时出现问题

时间:2015-05-03 08:40:08

标签: ios objective-c nsdictionary

@interface ConfGlobal : PAPreferences

@property (nonatomic, assign) NSDictionary *dtUsersDetails;

从REST响应中获取NSDictionary

NSDictionary * dtResult = [rest getResult];

        [ConfGlobal sharedInstance].dtUsersDetails =  dtResult;

并发现以下错误:

2015-05-03 14:33:48.018 Autoban Service [9940:2644989] ***由于未捕获的异常'NSInvalidArgumentException'终止应用程序,原因:'此对象不是有效的plist

请给我一个想法,有问题吗? 提前致谢

0 个答案:

没有答案
相关问题