导航到另一个UIViewController时看不到TabBar

时间:2018-01-11 23:32:39

标签: ios uinavigationcontroller uitabbarcontroller tabbar

我正在从 TabBarController 导航到另一个 UIViewController

aViewController.title = @"Product Name";
[self.tabBarController.navigationController pushViewController:aViewController animated:YES];
从标签栏导航后,

不可见。

所以更改代码

[self.navigationController pushViewController:aViewController animated:YES];

TabBar可见,但<返回按钮不可见。

从tabbar导航后如何使用tabbar和默认后退按钮?

1 个答案:

答案 0 :(得分:2)

我刚刚为此问题创建了一个测试项目,您将看到它按预期工作。 https://github.com/Pei116/TabTest-iOS

相关问题