tags:

views:

45

answers:

3

Hi guys

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!

+1  A: 

You can use NSUserDefault. Read about it here NSUserDefaults

vodkhang
Not for the password. Use keychain as Nikolai wrote.
JeremyP
Yeah, it should not for the password:)
vodkhang
+3  A: 

For security related information you really should use the keychain.

Nikolai Ruhe
A: 

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/

David Relihan