当我通过 Facebook 登录时,我在日志中收到如下消息
*** -[NSUserDefaults setObject:forKey:]: Attempt to insert non-property value '<null>' of class 'NSNull'. Note that dictionaries and arrays in property lists must also contain only property values.
它的意义是什么?为什么会出现这条消息?
在 facebook.m 类中,我设置为
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:[NSNull null] forKey:@"FBAccessTokenKey"];
[defaults setObject:[NSNull null] forKey:@"FBExpirationDateKey"];