How to come back to the root UIViewController in a UINavigationViewController chain?
I've a sequence of UIViewControllers pushed by a NavigationController.
What's the best way to come back to the home ViewController without having to go back through all chain of UIViewCo开发者_高级运维ntrollers ?
thanks
[self.navigationController popToRootViewControllerAnimated:(BOOL)]
精彩评论