i'm working on iphone app which will show 4 buttons in first view. on click of a button, it will load a new view with navigation controller. this navigation controller view allows to travel upto 11 sub views. in 11th sub view, i've a reset button. on click of reset button, i've to go back to navigation controllers first view without traversing all the 11 views? is it possible to achieve it? if yes how? if no, what can be the solution?
views:
96answers:
2
A:
u can use [self.navigationController popToViewController:objFirstViewController animated:YES] in the 11th view when you want to pop directly to the first view.
Happy Coding..
Suriya
2010-06-14 12:37:13
A:
You can also use the:
[self.navigationController popToRootViewControllerAnimated:YES];
Michael Kessler
2010-06-14 12:38:46