store parameters in iPhone
I try to store parameters in iphone application
开发者_开发技巧for example I want to store username and password after login.
And next time when I re-open iphone application, I can re-get that username and password to login automatically.
Thank you!
For security related information you really should use the keychain.
You can use NSUserDefault. Read about it here NSUserDefaults
SQLLite is a good way of storing APP. data. Here is a good beginner tutorial:
http://dblog.com.au/iphone-development-tutorials/iphone-sdk-tutorial-reading-data-from-a-sqlite-database/
精彩评论