Reputation: 766
I'm trying to implement this hierarchy in app. I know that maybe its not a good UI solution. But I have designs for an app and I want to implement it.
I want to approach like this:
But I always see FirstTabBarController in ViewControllers which have embeded in SecondTabBarController.
What is the best way to implement this?
Upvotes: 1
Views: 64
Reputation: 830
You can try the below approach:
1) On window root controller assign UINavigationController (call it App Navigation Controller)
2) Push and Pop your custom UITabbarControllers to the App Navigation Controller as per your app requirement
3) Handle flow of your custom child controllers of your custom tabar controllers from there only.
Upvotes: 2