![ui status bar ios ui status bar ios](https://9to5mac.com/wp-content/uploads/sites/6/2020/07/orange-status-dot-ios-14.jpg)
Type:ĮventObject Type: StatusBarTapEvent Property The value default selects the default theme that depends on the device and on the app. The theme should be set in conjunction with the background property for contrast. Just updated the markdown for iOS 13 and below. Instead, you set the status bar configuration individually for each of your UIViewController objects. You do not use this object to modify the configuration of the status bar. Instead, you retrieve an existing object from the statusBarManager property of a UIWindowScene object.
![ui status bar ios ui status bar ios](https://www.tutlane.com/images/ios/ios-status-bar-create-new-app-in-xcode.png)
You do not create UIStatusBarManager objects directly. A dark theme sets the foreground icons to be of a light color, whereas light sets the icons to a dark color. You can change the status bar colour just with a single line of code. Use a UIStatusBarManager object to get the current configuration of the status bar for its associated scene.
![ui status bar ios ui status bar ios](https://cdn.dribbble.com/users/29393/screenshots/7896197/serverapp-01-ales-nesetril.png)
Type:ĭefines the shade used on the status bar. Can be used in conjunction with the displayMode 'float' to offset the content as to not have it covered by the status bar. The height of the status bar in device independent pixel. The float option lets the content flow underneath the status bar. The hide option lets the status bar disappear, making more room for the content. The value default places the content below the status bar. Type:Ĭontrols how the status bar is positioned relative to the contentView. Should be used in conjunction with the theme property to keep the status bar icons legible. JS Demonstrating various StatusBar properties Properties backgroundīackground color of the status bar.