iOS钥匙串项何时删除? [英] When are iOS keychain items removed?

查看:319
本文介绍了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钥匙串项何时删除?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆