Reputation: 255
When I am in someViewController, I press the iPhone home button and it takes me to the iPhone home screen. Then I re-enter my app by tapping its icon. It does not take me to the view where I left. Instead, it takes me to homeViewController which is first view of my app.
How do I make it so that the user will be returned to the view that they left, rather than the initial view controller?
Upvotes: 1
Views: 510
Reputation: 486
Go to "info" in Xcode project and check into supported interface orientations. If its having Application does not run in background is YES then do it NO. It will then take you to the same controller from where you left. Have a look on the screen shot below
Upvotes: 2