Reputation: 870
Before iOS 8, if I uninstalled an app, the NSUserDefaults associated with that app would also be deleted. Then if I reinstalled the app, the NSUserDefaults would be their initial values.
However, with iOS 8, even after I delete an application, when I reinstall it, the NSUserDefaults are saved between application installs. They do not reset to their initial value.
Does anyone know if this is intentional? Or is this a bug?
Thanks!
Upvotes: 0
Views: 686
Reputation: 37189
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.
Upvotes: 2