简体   繁体   中英

iOS: How can I get username/password out of keychain for function “isEqual”?

I'd like to autologin the user when the user is logged in. the credentials are saved in keychain, but now i have to compare them..

how can I get them out for a comparison?

Take a look at the GenericKeychain classes made by Apple. This shows how to access the keychain securely.

EDIT

Take a look at this blog post: Simple iPhone Keychain Access .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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