通过iTunes升级iOS应用程序时防止删除用户数据 [英] Preventing erasure of user data while upgrading iOS application via iTunes

查看:134
本文介绍了通过iTunes升级iOS应用程序时防止删除用户数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为Beta测试人员组上传我的iOS应用程序的新测试版。用户将其数据保存在Documents文件夹中。为了让用户升级他们的应用程序而不丢失他们的数据,我需要做什么?

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?

推荐答案

文件目录不会被覆盖当您更新应用程序时,只要您的数据在版本之间兼容,您就不必执行任何特殊操作。

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.

或者,对于开发人员,Xcode的管理器允许您轻松提取应用文档目录的内容。

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

这篇关于通过iTunes升级iOS应用程序时防止删除用户数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆