nckturner
nckturner

Reputation: 1266

Why doesn't my Tab Bar show up in the simulator?

I have a tab bar controller that controls 4 view controllers. When I run the simulator, the tab bar doesn't show up. I created the tab bar controller in a single page application by dragging it from the object library, then creating segues with ctrl-drag for views that had already been created.

I do not have a navigation controller.

Upvotes: 1

Views: 911

Answers (1)

nckturner
nckturner

Reputation: 1266

The problem was that I did not have the Tab Bar Controller selected as Is Initial View Controller in the Attributes Selector. After checking this box, the tab bar showed up at the bottom of the simulator.

enter image description here

Upvotes: 1

Related Questions