views:

30

answers:

0

I have a Settings.bundle and default settings in it. I try to read it:

NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];    
[defaults synchronize];    
NSString *fontSize = [defaults objectForKey:@"fontSize"];

but it always null If I don’t run the Settings application before my application runs for the first time. How to solve it?