Specifies whether a view controller, presented non-fullscreen, takes over control of status bar appearance from the presenting view controller.
- iOS 7.0+
- Mac Catalyst 13.0+
The default value of this property is
When you present a view controller by calling the
present method, status bar appearance control is transferred from the presenting to the presented view controller only if the presented controller's
modal value is
UIModal. By setting this property to
YES, you specify the presented view controller controls status bar appearance, even though presented non-fullscreen.
The system ignores this property’s value for a view controller presented fullscreen.