开发者

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/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜