Double navigation bar showing up with tab bar controller programmatically coded

The NavigationController will be duplicated if before TabbarController you have a NavigationController and when you set

viewControllers = tabBarList.map { UINavigationController(rootViewController: $0)}

You create another NavigationController. That’s why 🙂

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top