Reputation: 29
I need to segue to another UIViewController
from my TabBarController without the tab bar disappearing from the bottom of the view.
As you can see in the picture, I want to segue to the colored view when pressing the red button from tab bar controller with the tab bar still displayed at the bottom of the view.
Upvotes: 1
Views: 115
Reputation: 8475
Set each of your tab roots to be a UINativagationController
. Then set the current UIViewControllers
as the roots of the navs. Then you can segue as much as you want and the tabbar will remain on the bottom.
e.g.
like the bottom flow, you can add another UIViewControllers
to the right again.
Upvotes: 1