Need some assistance in saving data from a textview
Thank you in advance for any assistance you can provide.
I have a universal binary that basically brings up a couple textviews in both the iPhone and iPad versions.
Let's say someone writes a 2-page letter in the textview - what is the easiest way to save this text so that it saves automatically?
The user writes the text, they leaves the textview, go elsewhere in the app, and when they return the text they wrote is still there.
Then, if they completely close the app (for example, iPhone gets a phone call) and user comes back a day later, the text is still there. Essentially, the text stays saved until user deletes it.
It needs to do the above for both the iPhone and iPad versions. Newbie to saving data here, so any help is appreciated.
Is there some standard "save" code that I can use for a basic textview?
Thanks.
|