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.
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.
I suspect it may be a similar issue to the one solved here, but this refers to permission issues in the keychain. Would the same permissions issues apply to NSUserDefaults?
Has anyone experienced similar issues on IOS7 with NSUserDefaults?