UITabBarController in a storyboard hides the contents of UITabBarItems

I'm starting to use storyboards for iOS. I use the tab bar controller to show my content.

When I first implemented UITabBar, I could see all the icons at the bottom of UITabControllerthe storyboard, and I could see UITabBarItemat the bottom of each UIViewController. Why is there now an empty gray bar? I cannot change the content in the storyboard. I tried to add another one UITabBarController, but got the same problem, it also has a dark gray bar at the bottom. However, when I launch the application, all the icons appear. How to fix this so that I can see the UITabBarItems in the storyboard or just try updating them programmatically?

UIViewController (tab bar controller view)

UITabViewController

+4
1

- , Interface Builder. , , , , .

Inferred , . viewControllers.

, View Controller, Builder, (, ).

enter image description here

+2

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


All Articles