自Xcode 5.0 发布以来,Xcode 项目的目标设置中的Capabilities
选项卡有了新版本。它包括在您的项目 App ID 上配置权利的能力。其中一项功能是 Data Protection
。启用目标设置中的设置不只是:
Add the "Data Protection" entitlement to your App ID
我如何在我的应用程序中实际实现数据保护?数据保护有哪些应用?它会加密我所有的应用程序数据吗?
最佳答案
如 关于该主题的文档中所述:Enabling Data Protection .
Data protection adds a level of security to files stored on disk by your app. Data protection uses the built-in encryption hardware present on specific devices to store files in an encrypted format on disk.
这意味着存储的数据将自动加密。
关于ios - Xcode 数据保护,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22701577/