When are iOS keychain items removed?(iOS 钥匙串项目何时被删除?)
问题描述
我可以发誓这在以前的 iOS 版本中工作方式有所不同,但从 iOS 4.0 开始,当应用程序被删除时,我的应用程序的钥匙串项似乎没有被删除.但是,在没有先删除的情况下升级应用后,似乎有些被清除了?
I could have sworn this worked differently in previous versions of iOS, but as of iOS 4.0 it looks like my app's keychain items are not removed when the app is removed. However, it looks like some are cleared when the app is upgraded without first removing?
有人可以清楚地解释 iOS 钥匙串项何时被删除吗?
Can someone provide a clear explanation of when iOS keychain items are removed?
推荐答案
回答 这里和其他地方(我不记得我在哪里读过它),即使在应用程序被删除后,钥匙串也会保留.我几乎可以肯定,除非您明确删除其中的项目,否则不会清除钥匙串.
As answered here, and somewhere else (I can't remember where I read it), the keychain will persist even after the app is removed. I am almost positive that the keychain isn't cleared unless you explicitly delete an item in it.
这篇关于iOS 钥匙串项目何时被删除?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:iOS 钥匙串项目何时被删除?
- URL编码Swift iOS 2022-01-01
- 类似于 Mail.app 的 iPad 模态视图控制器? 2022-01-01
- 如何在 iPhone 模拟器中重置 NSUserDefaults 数据? 2022-01-01
- 使用自动布局向 UIScrollView 添加动态大小的视图 2022-01-01
- GPS状态的广播接收器? 2022-01-01
- Xcode 7.3 中带有 UILabel 的 UIStackView 2022-01-01
- UITextView 内容插图 2022-01-01
- 网上有没有好的 UIScrollView 教程? 2022-01-01
- SetOnItemSelectedListener上的微调程序错误 2022-01-01
- 在 Iphone SDK 的导航栏上添加多个按钮 2022-01-01