I have an app that uses [NSUserDefaults standardUserDefaults] to store session information.
Generally, this information is checked on app launch, and updated on app exit.
I
It is bug in simulators.This bug also exist in prior to iOS8 beta4 on devices.But on devices this bug is resolved but it currently exist on simulators.They have also changed the simulator directories structure.If you reset your simulator it will work fine.On iOS8 devices it will also work fine.