I’m stuck with a problem and ask for your help.
It’s about navigation within a UINavigationController stack.
For exemple my IOS app can have this type of hierachy
[1]–>[2]–>[3]
Means that the first controller push the second which push the third. How can i create a button in the third one which makes me going back directly to the first controller like this
[3]–>[1]
Thanks for you help
Use the
UINavigationController‘s methodpopToRootViewControllerAnimated:, e.g. from within your UIViewController: