Gargantua
Gargantua

Reputation: 21

tab bar item not showing in storyboard

I'm trying to add a tab bar controller on an application, and it works fine: I can switch between pages and use the tab bar when I try the app. But I cant see the tab bar items in the storyboard, therefore I cant edit them (I need to set a name and a icon for each item, like "home", "settings").

Here's a picture of the storyboard: enter image description here

As you can see the tab bar is gray, and I'm expecting something like this where we can see the items: enter image description here

Upvotes: 2

Views: 2177

Answers (2)

Gargantua
Gargantua

Reputation: 21

Well, after a few minutes and after restarting Xcode many times the problem solved itself.

I guess it was a Xcode bug then.

Upvotes: 0

Dave Batton
Dave Batton

Reputation: 8845

Have you tried dragging a Tab Bar Item from the Object Library into the view controllers? It looks like that's what's missing.

enter image description here

Upvotes: 1

Related Questions