Status bar not hidden in storyboard

Although I set the value to YES in my .plist file UIStatusBarHidden, it appears in the storyboard, but not in the simulator or device. How can I permanently remove from the storyboard views?

thanks

+4
source share
1 answer

You need to select your initial view controller (either UINavigationController, UITabbarController, or a simple UIViewController ...). Make sure you select the controller itself, not the root view of the controller.
Then, in the inspector in the right pane, you can specify whether you want to display the status bar.

Interface builder

Select the source controller in your storyboard, and each controller connected to it should automatically hide the status bar.
If your storyboard has β€œstandalone” controllers, you will have to do the same for each of them.

+9
source

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


All Articles