Search code examples
uitabbarcontrollerxcode7storyboard-reference

UITabBarController Issues with Storyboard References


  1. I have four storyboard files in the project.
  2. In the "TabView.storyboard", I create three Storyboard Reference instances and link them to the other storyboard respectively.

  1. Then I run the app in the simulator and device. The title and icon image on the tab bar item just don't appear(both on simulator and device).

However, if I crate the UITabBarController and it's view controllers in common way, and use "Editor->Refactor to storyboard" option in the menu, the titles and icon images show normally.

It this a bug of Xcode7?


Solution

  • Seems like a similar issue to the question. I answered here.

    You need to add the tab bar item in the destination storyboard view controller.