PDA

View Full Version : Saving a text field




Programmer
Aug 17, 2009, 09:22 AM
how do save the contents of a UITextField on the exit of an app.



AndyCodez
Aug 17, 2009, 09:46 AM
There are a few ways you can do this. I recommend saving to a .plist.


http://www.ipodtouchfans.com/forums/showthread.php?t=64679

Would be a good example to go off of.

PhoneyDeveloper
Aug 17, 2009, 11:22 AM
For a simple string use NSUserDefaults.

Programmer
Aug 17, 2009, 12:28 PM
Thanks