I worked with NSUserDefault
, but this keychain concept is completely new to me.
I tried to find similar questions, but could not find the exact reason for this.
What I've done:
I already know how to store data in NSUserDefault
. as well as the reason we should keep it.
As for the keychain, I just know that storing in the key chain stores data with some additional security by encoding the source text, and NSUserDefault
stores the data in plain text. And it also saves data even after uninstalling the application.
Is this the only reason for storing data in the keychain?
Edit: I got this link that says exactly what I said.
source share