开发者

How to manually read from iPhone preferences?

I just wrote a few values to my user preferences using NSUserDefaults. Is there a way I can go in and examine the persisted preference开发者_C百科s file manually (when running on the simulator) to make sure they were written properly?


See related: Easy way to see saved NSUserDefaults?


NSString *text = [[NSUserDefaults standardUserDefaults] stringForKey:@"ValueName"]; NSLog(@"%@",text);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜