2

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

user3071284
  • 6,955
  • 6
  • 43
  • 57
Gargantua
  • 21
  • 5

2 Answers2

1

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

Dave Batton
  • 8,795
  • 1
  • 46
  • 50
  • 1
    I'v tried but it did not work. Nevertheless the problem solve itself after a while, I still dont know why. It's a xcode bug I guess – Gargantua Feb 05 '16 at 19:05
0

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

I guess it was a Xcode bug then.

shim
  • 9,289
  • 12
  • 69
  • 108
Gargantua
  • 21
  • 5