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!

ios keychain services

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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -