objective c - What's the best way to store session ID in iOS? -
i'm building ios app version of web app , need store session id returned after user logs in. other information need not sensitive, i'm going store in nsuserdefaults, session id 1 sensitive piece of information can't store in nsuserdefaults. what's best way store session id?
why, in ios keychain of course!
there many libraries task, 1 of commonly used sskeychain. although, read documentation , figure out how yourself, or reference apple's examples way of doing this.
links valid of june 3rd, 2015
Comments
Post a Comment