Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在Keychain中保存某些网站的密码。就像您在 Safari iOS 中打开 Gmail 并选择记住我一样,它会自动登录。
任何解决方法?
谢谢你。
人
您可以将GenericKeychain Apple 示例应用程序与我在This question的答案中概述的更改一起使用。
您可以简单地使用NSURLCredential,它将用户名和密码都保存在钥匙串中。
NSURLCredential
请参阅我在https://stackoverflow.com/a/17997943/249869上的详细回答。