Unwind Segue Hides Tab Bar

廉价感情. 提交于 2019-12-13 03:57:37

问题


I have the following layout :

  1. Tab Bar Controller
  2. Nav Controller
  3. View Controller 1
  4. View Controller 2

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. setting the tabBar.isHidden property to false
  2. unchecking the hide bottom bar on push

Any other ideas? Any help will be greatly appreciated.


回答1:


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.



来源:https://stackoverflow.com/questions/47957054/unwind-segue-hides-tab-bar

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