eLwoodianer
eLwoodianer

Reputation: 674

Xcode: TabBar not showing in Interface Builder

Interface Builder: I have a TabBarController connected to three different scenes. Every scene starts with a NavigationController and then has some different ViewControllers.

The problem now is, that the Interface Builder is not longer showing the TabBars in the different scenes, expect in the TabBarController. I can still access the TabBarItems in the Document Outline and the app runs as expected, but it confuses me.

Every scene is refactored to its own Storyboard, in case that matters.

Thanks in advance for any hint!

Edit: I hope these pictures make the issue more clear. There should be a TabBar (with a TabBarItem) in the second picture, but there isn't one.

enter image description here enter image description here

Upvotes: 0

Views: 941

Answers (1)

Evan
Evan

Reputation: 202

You can tell IB to include a tab bar in your View Controller by selecting it and then selecting Opaque Tab Bar in the Bottom Bar dropdown, under Simulated Metrics.

Simulated Metrics in Xcode

Upvotes: 3

Related Questions