gpt4 book ai didi

ios - 我存储的钥匙串(keychain)数据是否仅限于我的应用程序?

转载 作者:行者123 更新时间:2023-11-29 02:55:24 25 4
gpt4 key购买 nike

如果我将一些信息放入钥匙串(keychain)中,我的应用程序是唯一能够访问该数据的应用程序,对吗?

最佳答案

钥匙串(keychain)数据在开发人员的应用程序之间共享。来自apple documentation :

Keychain data for an app is stored outside of the app’s sandbox. When the user backs up app data using iTunes, the keychain data is also backed up. Before iOS 4.0, keychain data could only be restored to the device from which the backup was made. In iOS 4.0 and later, a keychain item that is password protected can be restored to a different device only if its accessibility is not set to kSecAttrAccessibleAlwaysThisDeviceOnly or any other value that restricts it to the current device. Upgrading an app does not affect that app’s keychain data.

Here是在应用程序之间共享钥匙串(keychain)信息的示例。

关于ios - 我存储的钥匙串(keychain)数据是否仅限于我的应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23961224/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com