I have 4 views.
1st is rootView and then View1, View2 & View3.
It is working according rootView-> View1-> View2-> View3 .
I have to jump from View1 to View3 but when I use back button from View3, it pops to View2 . If I use following code
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2] animated:YES];
it does not work cause of indexing, at this time View3 has index value 2 when I push the View3 from View 1.
So is there any other method to pop View2 from View3 using back button?