Preventing erasure of user data while upgrading iOS application via iTunes

筅森魡賤 提交于 2019-11-27 07:24:01

问题


I want to upload a new beta version of my iOS application for beta testers group. Users save their data in the Documents folder. What do I need to do in order for users to upgrade their application without losing their data?


回答1:


The Documents directory is not overwritten when you update an app so as long as your data is compatible between versions, you shouldn't have to do anything special.

Alternatively, for developers, Xcode's Organizer allows you to extract the contents of an apps Documents directory easily.




回答2:


Downgrading iTunes to 7.7 seems solved the problem on Windows



来源:https://stackoverflow.com/questions/941479/preventing-erasure-of-user-data-while-upgrading-ios-application-via-itunes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!