title: Can you make the settings in Settings.bundle default even if you don't open the Settings App
body: <p>I have an iPhone application with a settings.bundle that handles various settings for my application. I can set default values in my root.plist file (using the DefaultValue property), but these only get used the first time the user opens the settings app. Is there any way to get these values written out when your application installs? I know I can just write code that checks for the first launch of my app and then write them out, but then they are in two different places.</p>
  
  <p>Here is an entry from my root.plist as an example:</p>
  
  <pre><code>&lt;dict&gt;
      &lt;key&gt;Type&lt;/key&gt;
      &lt;string&gt;PSToggleSwitchSpecifier&lt;/string&gt;
      &lt;key&gt;Title&lt;/key&gt;
      &lt;string&gt;Open To Top Location&lt;/string&gt;
      &lt;key&gt;Key&lt;/key&gt;
      &lt;string&gt;open_top_location&lt;/string&gt;
      &lt;key&gt;DefaultValue&lt;/key&gt;
      &lt;string&gt;YES&lt;/string&gt;
      &lt;key&gt;TrueValue&lt;/key&gt;
      &lt;string&gt;YES&lt;/string&gt;
      &lt;key&gt;FalseValue&lt;/key&gt;
      &lt;string&gt;NO&lt;/string&gt;
  &lt;/dict&gt;
  </code></pre>
  
  <p>The end result should be that if I ask for 'open_to_top_location' I get a YES, instead of it not being there at all until the first time the user opens the Settings app.</p>
  
  <p>Any ideas?</p>