Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 931
Yilei He Avatar asked Oct 17 '15 05:10

Yilei He


1 Answers

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.

like image 69
leogdion Avatar answered Oct 21 '22 13:10

leogdion