我在管理多个UINavigationControlller.
我有一个UITabBar并且在每个选项卡中我都有一个单独的UINavigationController. 所以如果我UITabBar通过
tabBar.selectedIndex = i; // where i is index of tabbar.
当我回到上一个标签时
tabBar.selectedIndex = previousIndex;
我转到 的根目录,而UINavigationController不是我之前离开的视图控制器。
我想转到视图控制器,从中跳转到另一个选项卡,而不调用-viewDidLoad:or -viewWillAppear:。
我需要一个方法来显示UINavigationController或者我的 viewController。