iosnsuserdefaultskeychainover-the-air

Will app lose the NSUserDefault data on over the air installation?


Will app lose the NSUSerDefaults values when I do over the air installation?

  1. No app installed in the device
  2. Install the app version 1.0 over the air and saving some values in NSUserDefaults
  3. Install the app version 1.0 over the air again with out deleting the app.
  4. Will I lose the NSUSerDefaults values because of installing the same version?

Solution

  • Whatever you have in NSUserDefaults it remains in the device/system. It never gets deleted even when you upgrade your app however on uninstalling or manually deletion it is removed.