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. And it also stores the data even after the application is removed.
Is this the only reason for storing the data in keychain?
Edit:
I got this link which says exactly what I have said.
Keychain data is more secure in comparision of NSUserDefault. and keychain data also in device after remove application from device. For more about keychain wrapper read this.