Reputation: 989
I have an App in my Device, that contains database, if I update that app from the App Store, then database of App will be updated or it uses the same database of previous App.
Upvotes: 1
Views: 99
Reputation: 2292
If you stored your data in NSDocumentDirectory
or NSLibraryDirectory
, your data are still there after updating your app and until the app is deleted.
Upvotes: 2
Reputation: 688
The database of app will be updated only and only if you have modified the .sqlite file in your app and then you are replacing the previous one with the same name. Hope it helps!
Upvotes: 0