Problems with UITabBarController with storyboard links

  • There are four storyboard files in the project.
  • In "TabView.storyboard", I create three instances of the Storyboard Reference and link them to another storyboard, respectively.
    Screenshot: Storyboard
  • Then I run the application in the simulator and device. The image of the title and the icon in the tab bar element is simply not displayed (both on the simulator and on the device).
    Screenshot: Simulator

However , if I drawer UITabBarController and view it in general, and use the menu option "Editor-> Reactor for storyboard", the images of the headers and icons are displayed normally.

Is this a bug in Xcode7?

+4
source share
2 answers

Looks like a similar issue with question . I answered here .

You need to add a tab bar item in the storyboard view manager.

+9
source

Can you make sure that the entry point to the storyboard is TabBarController itself? This is similar to the problem I saw earlier when a person stated that the entry point to the storyboard is in the HomeViewController instead of the TabBarController, which leads to the launch of the application starting with the HomeViewController but not having the actual tabs.

If you select a controller in the story pane, a check box must be selected so that the controller flag is an entry point.

0
source

Source: https://habr.com/ru/post/1612019/


All Articles