Why to store username and password in Keychain in iPhone app

Posted by Suriya on Stack Overflow See other posts from Stack Overflow or by Suriya
Published on 2012-06-07T10:36:53Z Indexed on 2012/06/07 10:41 UTC
Read the original article Hit count: 248

Filed under:
|
|

I have worked with NSUserDefault but this keychain concept is totally new for me.

I have tried looking for similar Questions but couldn't find the exact reason to do so.

What I have done:

I already know how to store data in NSUserDefault. and also the reason why do we need to store it.

Regarding Keychain I just know that storing in keychain stores the data with some extra security by encoding the original text while NSUserDefault stores the data as plain text.

Is this the only reason for storing the data in keychain?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ios