title: NSUserDefaults do not save in iOS7?
body: <p>In iOS6 the following code works fine. After the first launch, the hasLoaded BOOL is YES.</p>
  
  <pre><code>BOOL hasLoaded = [[NSUserDefaults standardUserDefaults] boolForKey:kUserDefaultFirstLaunch];
  
      if (!hasLoaded){
          [[NSUserDefaults standardUserDefaults] setBool:YES forKey:kUserDefaultFirstLaunch];
          [[NSUserDefaults standardUserDefaults] synchronize];
  
         //do first launch stuff
  
      }
  </code></pre>
  
  <p>But in iOS7, every time I run the app, hasLoaded is NO, even though I'm clearly setting it to YES and synchronizing. I have seen a couple other posts about this but no solutions. This would be such a HUGE bug that I can't believe it's really an Apple bug. Please tell me I'm wrong. Is it really true that no apps can reliably use NSUserDefaults on iOS7?</p>
  
  <p>I've tested this on both the simulator and the device.</p>