ios - 删除应用程序不应删除文档目录
<p><p>如果 iOS 应用程序未安装或任何替代方式,有什么方法可以不删除文档目录</p>
<p>或</p>
<p>有什么方法可以将数据保存在不同的地方,以便删除应用后我们可以使用它?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>不,一旦您<strong>卸载应用程序</strong>,就<strong>无法阻止系统删除文档文件夹</strong>。 </p>
<p>如果设备中启用了 <strong>iCloud</strong>,它将备份 Documents 目录的内容。 iCloud 方式是最高效的,因为它会自动处理文档文件夹内容,它会在重新安装后将数据从备份中恢复,因此您可以重复使用它。</p>
<blockquote>
<p>Only documents and other data that is user-generated, or that cannot otherwise be recreated by your application, should be stored in the /Documents directory and will be automatically backed up by iCloud.</p>
</blockquote>
<p>更多:<a href="https://developer.apple.com/icloud/documentation/data-storage/index.html" rel="noreferrer noopener nofollow">https://developer.apple.com/icloud/documentation/data-storage/index.html</a> </p>
<p>用户可能还使用 <strong>iTunes</strong> 备份了这些数据。</p>
<p>阅读有关文件系统和逻辑的更多信息:</p>
<p> <a href="https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html" rel="noreferrer noopener nofollow">https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html</a> </p></p>
<p style="font-size: 20px;">关于ios - 删除应用程序不应删除文档目录,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/39697810/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/39697810/
</a>
</p>
页:
[1]