【发布时间】:2019-12-31 08:13:30
【问题描述】:
你好,
所以我有这个storyboard 结构我在ViewController B 中有一个button 我需要button 指向底部NavigationController,其中有ViewController C 作为rootViewController 所以当我按下@ 987654330@ in ViewContoller B 带我到 C 现在我需要在 C 上的后退按钮带我回到 B
我尝试过查找,但所有参考资料都显示了如何在 ViewController 而不是 NavigationControllers 之间导航
【问题讨论】:
-
为什么要使用第二个导航控制器?
-
@RajeshKumarR 我有一个 LocationPicker ViewController 需要从 NavigationController 的 rootViewController 打开
-
@Jhon 你可以试试我的回答,它对你的项目有用
标签: ios swift uinavigationcontroller storyboard