开发者

store parameters in iPhone

开发者 https://www.devze.com 2022-12-31 01:51 出处:网络
I try to store parameters in iphone application 开发者_开发技巧for example I want to store username and password after login.

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消