iPhone What happens to previous data when app is upgraded to new version

后端 未结 2 818
北恋
北恋 2021-01-01 06:36

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

相关标签:
2条回答
  • 2021-01-01 07:12

    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

    0 讨论(0)
  • 2021-01-01 07:29

    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.

    0 讨论(0)
提交回复
热议问题