简体   繁体   English

搜索后标签栏消失

[英]Tabbar disappears after segue

Hi guys I have a Main Navigation Controller and a Tab Bar Controller, I have 4 Viewcontrollers and everything works fine. 嗨,大家好,我有一个主导航控制器和一个标签栏控制器,我有4个Viewcontrollers,一切正常。 Now I have to open a ViewController from a Button Push Segue, the problem is that the Tabbar disappears once I do that. 现在,我必须通过“按钮推送”打开一个ViewController,问题是一旦执行此操作,选项卡栏就会消失。 Is there a simple solution to solve this issue? 是否有解决此问题的简单解决方案?

在此处输入图片说明

Make your TabBarController as InitialViewController and Embed your viewcontrollers with UINavigationController . TabBarControllerInitialViewController并使用UINavigationController嵌入viewcontrollers。 This will not hide your Tabbar from bottom. 这不会从底部隐藏您的Tabbar

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM