我正在开发一个适用于iPad的AIR应用程序,我发现当我卸载该应用程序时,文档目录数据将被删除,即使删除该应用程序还是iOS对此行为进行了规定,还有一种方法可以保留此数据。我无能为力吗?
谢谢。
最佳答案
不,你不能
从iOS EnvironmentFor security reasons, iOS places each app (including its preferences and data) in a sandbox at install time. A sandbox is a set of fine-grained controls that limit the app’s access to files, preferences, network resources, hardware, and so on. As part of the sandboxing process, the system installs each app in its own sandbox directory, which acts as the home for the app and its data.
因此,您删除了该应用程序,有关该特定应用程序的所有内容都将被删除。
关于ios - 卸载应用程序时,有没有不删除文件目录的方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16595143/