When you update an iOS app, what happens to the Documents folder contents?

岁酱吖の 提交于 2019-12-12 10:44:17

问题


What happens when I update an app that has some files stored in the Documents folder? I need those files to be kept in that folder so the updated app will be able to use them. But it doesn't seem to happen. Is there anyway I can manage to save all my files?


回答1:


Your documents will stay where they are - unless the user deletes the app before updating (but that wouldn't be an update..).



来源:https://stackoverflow.com/questions/9311748/when-you-update-an-ios-app-what-happens-to-the-documents-folder-contents

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