阅读背景:

更新新版本到app store,使用不同的sqlite db结构

来源:互联网 

I have uploaded an app on app store (version 1.0). My app is using a sqlite database for storing some data. Now, I have made some changes in the database (I have added 2 or 3 new columns in one of the tables in my db). I want to update the previous version of my app with the new version 1.1 (which is having different db structure). Now, when the users which are already using the version 1.0 upgrade the app to version 1.1, the db is already present in app sandbox and hence, the app is pointing to version 1.1, but my db is still the old one. I want to have the new db with the old data, if any. Please help me out. Thanks.I have uploaded an app on app store (version 1.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: