Unwind Segue Hides Tab Bar

2019-08-17 00:20发布

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条回答
We Are One
2楼-- · 2019-08-17 00:41

If I right understand you have storyboard like this:

enter image description here

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.

查看更多
登录 后发表回答