OGeek|极客世界-中国程序员成长平台

标题: iphone - 单击选项卡时返回 UINavigationController 堆栈的顶部? [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-12 15:32
标题: iphone - 单击选项卡时返回 UINavigationController 堆栈的顶部?

我有一个带有 4 个选项卡的 UITabBarController 界面。每个选项卡都有一个 UINavigationController。每当按下标签栏按钮时,如何返回到每个 UINavigationController 中最顶部的 UIViewController



Best Answer-推荐答案


-popToRootViewControllerAnimated

关于iphone - 单击选项卡时返回 UINavigationController 堆栈的顶部?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4199758/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4