rao
rao

Reputation: 79

starting app from the same status as user had quit it

Suppose user is at any viewcontroller in app and filling the form the (view controller can be any viewcontroller). Now he quits the app also from background.

So when user again starts the app i need to show the viewcontroller with same status he had quit it.

Upvotes: 0

Views: 67

Answers (1)

Robot Woods
Robot Woods

Reputation: 5687

You'll have to save those field values - and what view is being shown - to some persistent storage (write to a plist for example)...depending on the layout of your app, you could do that each time the applicationWillEnterBackground, or applicationWillTerminate, or maybe every time textFieldDidEndEditing...then you'll need to recall that data on re-launch

http://www.edumobile.org/iphone/iphone-programming-tutorials/data-persistence-in-iphone/

Upvotes: 1

Related Questions