简单的问题...我的应用程序以带有 UIViewController 的 UINavigationController 开始(当然),但是当按下按钮时,我希望呈现另一个 UINavigationController。
我会这样做:
[self.navigationController presentViewController:AnotherNavigationController animated:YES completion:nil];
或者:
[self presentViewController:AnotherNavigationController animated:YES completion:nil];
两种方式都有效......但我不确定哪一个是正确的......而且,一旦出现导航控制器,我似乎无法让 BarButtonItem 出现
PS。导航控制器有一个标签栏控制器,里面有两个标签视图
先谢谢了!