WAIT?!?!
I need help. NSUserDefaults!
Me am stupad-- How do I do it. Does the “setTheusername_” set the variable Theusername to the value of the Key “User”? How do I write? PLEASE HELP!!!
WAIT?!?!
I need help. NSUserDefaults!
Me am stupad-- How do I do it. Does the “setTheusername_” set the variable Theusername to the value of the Key “User”? How do I write? PLEASE HELP!!!
Seems like the best place to store your username and password, and its also very easy to do, is in the keychain.
this creates a new keychain named “MyApplicationName”, the account is “johnny.h” and the password is “JsPassword”
Assuming you’ve already made the keychain entry, this will then let you get the username and password you’ve stored in that keychain. You’ll end up with the variables userNm and pass set appropriately.
It’s also good to point out that using the Keychain is secure.
No.