iphone - iPhone/iPad 上的文件共享?

标签 iphone file ipad itunes file-sharing

我希望我的应用程序通过 itunes 文件共享来共享文件。现在所有文档文件夹 暴露给用户。问题是那里有某些我不想公开的文件(假设这些是“系统文件”)。我应该怎么办?如果无法“隐藏”文件,您认为最好将“系统文件”放在哪里?在库文件夹中?

谢谢

最佳答案

苹果有一个 Technical Q&A正是在处理这个问题。

In addition to the directories documented previously, the entire /Library directory has always been preserved during updates and backups, except for /Library/Caches. Because of this, applications can create their own directories in /Library/ and those directories will be preserved in backups and across updates. To minimize the risk of name collisions, we recommend that you name this directory carefully. For example, a directory named Private Documents would be a good choice.

关于iphone - iPhone/iPad 上的文件共享?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3831336/

相关文章:

iphone - 如何以编程方式区分 iPhone 和 iPhone(Retina 3.5 英寸)?

iphone - 通过 UINavigationController 传递图像

java - 使用java计算tif图像文件的页数

iphone - 自定义键盘设置光标位置

iphone - 如何使 pdf 页面适合 vfr reader 中的屏幕尺寸

ios - '-[UINavigationController setLanguage :]: unrecognized selector sent to instance 0x7f8fba7df4e0'

c - 拆分我从文件中读取的字符串

Java/在第一行写入,由 out.write 编写

iphone - Info.plist 上传中的 CFBundleVersion 显示错误

iphone - 委托(delegate)IBA行动