tateNate78g3
tateNate78g3

Reputation: 21

How to maintain UITabBar with segue

So, I have an hierarchy which is(see image for better understanding): Navigation Controller -> Tab Bar Controller -> VC1,2,3,4,5

All good, all working.

Now, if I segue from one those VCs I lose my Tab Bar. Which I believe it is weird, since they all have a connection to the Tab Bar Controller VC.

Any way I can maintain it?

enter image description here

Thanks

Upvotes: 2

Views: 57

Answers (1)

omartarek32
omartarek32

Reputation: 179

you should not add UITabBarController inside UINavigationController, but you should add each UIViewController managed by UITabBarController inside a UINavigationController

like the following image enter image description here

Upvotes: 1

Related Questions