Saving username/password for a website in iPhone keychain

1.5k Views Asked by At

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.

any workaround?

thank you.

al

2

There are 2 best solutions below

5
Simon Goldeen On

You can use the GenericKeychain Apple sample app with the changes I outline in the answer to This question.

0
Phil On

You can simply use NSURLCredential, it will save both username and password in the keychain.

See my detailed answered on https://stackoverflow.com/a/17997943/249869.