iOS 钥匙串项目何时被删除?

When are iOS keychain items removed?(iOS 钥匙串项目何时被删除?)

本文介绍了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 钥匙串项目何时被删除?

基础教程推荐