How do I use a default setting from Root.plist?
<p>I have set up a default setting for my app using Root.plist, giving this a Boolean DefaultValue of YES (ticked checkbox).You can see a screengrab at <a href="http://www.infin8design.com/clients/stack/plist.png" rel="nofollow">http://www.infin8design.com/clients/stack/plist.png</a></p>

<p>However, when my app is first launched, the YES value is not picked up, and the setting is read as a NO (or 0). The user has to manually go into the settings app, turn the toggleswitch off, then turn it back on again for this setting to hold a YES(1) value.</p>

<p>I'm logging the value with appDidFinishLaunching like this.</p>

<pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 


NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSLog(@"%d",[defaults boolForKey:@"include_phrases"]);
</code></pre>

<p>SO... my question is... How do I pick up this initial default setting without the user having to set it manually?</p>

<p>Thanks in advance for any suggestions you can offer.</p>

<p>Mark</p>
