Reputation: 2822
I have been storing inapp purchase receipt string in nsuserdefaults or a custom plist .This string used to determine the version of the app as full or limited.But how to make it secure.If any person modify this string by modifying the plist the app will change to full version rite.Then i came to know about keychains,but i am not able to understand how it works..is it a separate place where the string is saved or is it encrypting the string and saving it in plist..If anybody knows how to save inapp receipts from mkstorekit using keychains please share it here.. and also the keychains concept
Upvotes: 0
Views: 230
Reputation: 9977
The keychain is actually a safe, encrypted storage for passwords or anything else. You may use SFHFKeychainUtils
. That makes using the keychain as simple as using NSUserDefaults
.
Upvotes: 1