I have 1 application.
It has almost 32 views in hiereachy with back button.
I want tomaintain state of each and every view and also if i bcak the state of that view also maintains
is there any way to do it by code or by the setting
I’m asking for iphone
My simple question is if i put two text fields in my view and then i press home button and then,i move to another application and then again i press home button and then i move to my application ,i’m able to open that view which i leave and also my textfield or whatever i fill will be maintained
In your application delegate’s
-applicationWillTerminate:, save the info by e.g.And in
-applicationDidFinishLaunching:or-application:didFinishLaunchingWithOptions:, restore the info byIn general, whatever you want to save and restore can be placed into
NSUserDefaults.