gpt4 book ai didi

ios - TabBar 在导航到另一个 UIViewController 时不可见

转载 作者:行者123 更新时间:2023-11-28 21:01:48 25 4
gpt4 key购买 nike

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

aViewController.title = @"Product Name";
[self.tabBarController.navigationController pushViewController:aViewController animated:YES];

从标签栏导航后不可见。

所以改代码

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

TabBar 可见,但<后退 按钮不可见。

从tabbar导航后如何有tabbar和默认返回按钮?

最佳答案

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

关于ios - TabBar 在导航到另一个 UIViewController 时不可见,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48217463/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com