展开Segue隐藏标签栏 [英] Unwind Segue Hides Tab Bar

查看:108
本文介绍了展开Segue隐藏标签栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的布局如下:

  1. 标签栏控制器
  2. 导航控制器
  3. View Controller 1
  4. View Controller 2

我当前正在尝试将View Controller 2的Segue展开到View Controller1.Segue起作用,但是选项卡栏消失了.有什么方法可以强制我在不删除导航控制器的情况下保留选项卡栏.我已经尝试了以下方法:

I am currently trying to unwind segue from View Controller 2 to View Controller 1. The segue works however the tab bar disappears. Is there any way where I can force the tab bar to remain without removing the navigation controller. I have already tried the follow:

  1. 将tabBar.isHidden属性设置为false
  2. 取消选中推送时的隐藏底栏

还有其他想法吗?任何帮助将不胜感激.

Any other ideas? Any help will be greatly appreciated.

推荐答案

如果我正确理解你的故事板是这样的:

If I right understand you have storyboard like this:

我不想肤浅,但是您不需要放松.如果不是这样,请发布情节提要以提供正确的解决方案.

I don't want to be superficial, but you don't need unwindsegue. If is not like this, post your storyboard to give you the right solution.

这篇关于展开Segue隐藏标签栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆