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