Is data saved with NSUserDefaults saved when the application is updated?

I am currently creating an application that stores data using NSUserDefaults.

So, when I download v1 applications to the application store and then create a new update for the application (v2) , is the data stored in NSUsedDefaults stored when the user updates the new version?

+7
ios iphone nsuserdefaults
source share
1 answer

Data saved using NSUserDefaults is not deleted when the user updates the application.

It is deleted only if the user uninstalls the application.

+15
source share

All Articles