开发者

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜