Save Settings to iPhone

I am trying to save options in an iphone application

for example, I want to keep the username and password after login.

And the next time I open the iphone app again, I can get this username and password again to auto login.

Thanks!

+2


a source to share


3 answers


SQLLite is a good way to store APP. data. Here's a good beginner tutorial:



http://dblog.com.au/iphone-development-tutorials/iphone-sdk-tutorial-reading-data-from-a-sqlite-database/

0


a source


For security related information, you should really use keychain .



+3


a source


You can use NSUserDefault. Read about it here NSUserDefaults

+1


a source







All Articles