作者:草莓顽子该_589 | 来源:互联网 | 2023-05-18 22:13
IamlookingfordocumentationabouttheiOSkeychainitems.Myspecificquestionisifkeychainite
I am looking for documentation about the iOS keychain items. My specific question is if keychain items will survive an app uninstall and reinstall cycle. It seems to work that way since iOS 4 (or maybe even iOS 3), but I cannot find any documentation from Apple stating that this actually is supposed to work this way.
我正在寻找有关iOS钥匙串项目的文档。我的具体问题是,如果钥匙串项目在应用程序卸载和重新安装周期后仍然存在。它似乎从iOS 4(或者甚至iOS 3)那样工作,但我找不到Apple的任何文档,说明这实际上应该以这种方式工作。
What I am trying to figure out is if I can TRUST (not "hope for" or "guess") that items in the keychain will survive the app uninstall.
我想弄清楚的是,如果我可以信任(不是“希望”或“猜测”),钥匙串中的项目将在应用程序卸载后继续存在。
EDIT: I realize that the question is a bit unclear as pointed out by Daij-Djan. What I am looking for is official documentation that backs up the well-known behaviour.
编辑:我意识到Daij-Djan指出的问题有点不清楚。我正在寻找的是备份众所周知的行为的官方文档。
UPDATE 2017-04-04: See my answer below, the behaviour change in iOS 10.3 beta. It works as usual in iOS 10.3 but may probably change in future versions.
更新2017-04-04:请参阅下面的答案,iOS 10.3测试版中的行为更改。它在iOS 10.3中照常工作,但在将来的版本中可能会有所改变。
3 个解决方案