简体   繁体   English

在iPhone钥匙串中保存网站的用户名/密码

[英]Saving username/password for a website in iPhone keychain

Is it possible that I can save password for some website in Keychain . 我可以在“ 钥匙串”中保存某些网站的密码吗? Like if you open Gmail in safari iOS and select remember me, it logs in automatically. 就像您在Safari iOS中打开Gmail并选择“记住我”一样,它会自动登录。

any workaround? 任何解决方法?

thank you. 谢谢。

al

您可以将GenericKeychain Apple示例应用程序与我在此问题的答案中概述的更改一起使用。

You can simply use NSURLCredential , it will save both username and password in the keychain. 您可以简单地使用NSURLCredential ,它将在钥匙串中保存用户名和密码。

See my detailed answered on https://stackoverflow.com/a/17997943/249869 . https://stackoverflow.com/a/17997943/249869上查看我的详细解答。

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

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