1

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

emmby
  • 99,783
  • 65
  • 191
  • 249

2 Answers2

0

See related: Easy way to see saved NSUserDefaults?

Community
  • 1
  • 1
0

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

Taimur Ajmal
  • 2,778
  • 6
  • 39
  • 57