开发者

How to come back to the root UIViewController in a UINavigationViewController chain?

开发者 https://www.devze.com 2023-03-29 22:25 出处:网络
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开发者_高级

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)]
0

精彩评论

暂无评论...
验证码 换一张
取 消