我希望我的应用程序通过 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/