Nez*_*yka 2 uitabbarcontroller uinavigationcontroller ios swift
我尝试重现同样的方式推屏幕在FB信使例子。
我的架构:TabController -> NavController-> embedVC-> pushVC。
pushVC 必须在标签栏上方。我不想用 tabbar.isHidden = true 隐藏它。
小智 6
尝试在需要隐藏标签栏的屏幕上使用 UIViewController.hidesBottomBarWhenPushed = true 。您也可以尝试将 UITabBarController 安排为 UINavigationController 中的子项。据我所知(我可能是错的),UITabBarController 在 UINavigationController 中不起作用,所以有时有人使用他们自定义的 TabBarController。
| 归档时间: |
|
| 查看次数: |
2496 次 |
| 最近记录: |