My iPhone app has an initial screen, then the main screen, and then a final summary screen. When the user clicks “Start Over” on the summary screen, I want to go back to the starting screen. How can I do that?
I can close this summary screen using:
[self dismissModalViewControllerAnimated:YES];
But how do I go back to that initial screen?
Thanks,
-Scott
Implement UiNavigationController and use its popToRootViewControllerAnimated: property.
and study UiNavigationController class reference properly for understand it better-
http://developer.apple.com/library/ios/#documentation/uikit/reference/UINavigationController_Class/Reference/Reference.html