简体   繁体   English

我可以在iOS钥匙串中为一个用户存储/检索多个密码吗?

[英]Can I store/ retrieve multiple passwords in the iOS keychain for a single user?

Am I understanding the keychain documentation correctly? 我是否正确理解钥匙串文档? My application can store many key/value pairs for a single user of my application within the keychain, and ultimately retrieve those values in clear text - is that correct? 我的应用程序可以在钥匙串中为我的应用程序的单个用户存储许多键/值对,并最终以明文形式检索这些值-正确吗?

You sure can. 你当然可以。 Check out this example gist 看看这个例子要点

https://gist.github.com/ndfred/775896 https://gist.github.com/ndfred/775896

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM