Tab Bar Lost When Switching Views

时光总嘲笑我的痴心妄想 提交于 2019-12-12 04:23:40

问题


I have two views that are embedded inside navigationControllers. One of these views is also embedded inside a tabController.

When I switch back and forth between the two views, I lose the tabBar that was originally on one of the views.

What is the best way to go about fixing this issue? I am currently using a segue at the moment and am at a loss.


回答1:


I would change my navigation controller to be the root view controller, or have the tab bar segue go to the navigation view controller first



来源:https://stackoverflow.com/questions/37666252/tab-bar-lost-when-switching-views

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!