hi,
I have a requirement to save the last screen viewed while closing the app so that i can show the same screen when he re-opens the app. Can anyone tell me how to save the view and show it after re-opening ?
hi,
I have a requirement to save the last screen viewed while closing the app so that i can show the same screen when he re-opens the app. Can anyone tell me how to save the view and show it after re-opening ?
In applicationWillTerminate:
and applicationDidEnterBackground:
, save enough state to [NSUserDefaults standardUserDefaults]
so you can restore the view in the view controller's viewDidLoad
method.