In my application, I present a modal view with a navigation controller. After going through several screens in the navigation, I dismiss the view by simply using
[self dismissModalViewControllerAnimated:YES];
Which exits the view gracefully with a top-down transition. But it goes to the initial view, and I would like it to go back to the root of the navigation controller using the same top-down modal transition. Is there a neat way of doing this?
Thanks.
To go to the root use the following
But this will not show you the top down animation, in order to achieve that you will need to do some custom modification, it is possible that you will need to create your onw UINavigationController