title: Why are NSUserDefaults not read after flat battery IOS7
body: <p>I am using NSUserDefaults to store whether the app EULA and PP have been accepted (among other things) This works fine in general. I can start, exit then return to the app and it reads the value fine. I can kill the app and restart - reads the defaults fine. I can restart the phone, then restart the app and it reads the defaults fine.</p>
  
  <p>But when the phone restarts from a flat battery, I open the app and am prompted to accept my EULA an PP again. This only happens on my iPhone5 on IOS7. I have a 3GS on IOS6 which does not exhibit the same behaviour.</p>
  
  <p>I suspect it may be a similar issue to the one solved <a href="https://blog.loom.com/how-we-fixed-the-ios7-forced-logout-bug-thats-been-plaguing-so-many-apps/">here</a>, but this refers to permission issues in the keychain. Would the same permissions issues apply to NSUserDefaults?</p>
  
  <p>Has anyone experienced similar issues on IOS7 with NSUserDefaults?</p>