I have a query regarding What happens to previous data when app is upgraded to new version .
I have a current application having a local database. The user can modif
App data is managed by Bundle identifier, as app update is also on same Bundle identifier,
When user updates app, it automatically connected with same Bundle identifier, so data will be same as old version
But if u delete(uninstall) app then it will remove all relevant data from iPhone, then installing new upgraded app will not get old data
The data in ~/Documents
and ~/Library/Preferences
will be kept. Those in ~/Library
– I'm not sure, but I think they will be kept too. Those in your .app
folder will be completely replaced, but the user can't change what's in your .app
folder anyway.