iOS : is it possible to open previous viewController after crashing and re-launch app?

Posted by Nitin Gohel on Stack Overflow See other posts from Stack Overflow or by Nitin Gohel
Published on 2013-06-12T13:15:34Z Indexed on 2013/11/03 15:54 UTC
Read the original article Hit count: 216

Filed under:
|
|

How to achieve this stuff below? Please give me some guidance for it. I describe my issue below.

When I tap home button and remove app from tray and while I am opening app I get the login screen. I know how to use NSUserDefaults well.

But my issue is that when I navigate 3rd or 4th viewController and I press Home Button and remove app from tray, Then whenever I open app than I want to open with last open viewController.

Also same when my app is Crashing and I am opening it again then I want to open app with last open viewController state.

So I just want to know that is that possible or not? If yes, then please guide me how to achieve this stuff.

Thank you

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ios