Skip to main content

polyhorn_ios_sys/uikit/
status_bar.rs

1/// The style of the device's status bar.
2#[repr(usize)]
3#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
4pub enum UIStatusBarStyle {
5    /// A dark status bar, intended for use on light backgrounds.
6    Default = 0,
7
8    /// A light status bar, intended for use on dark backgrounds.
9    LightContent = 1,
10
11    /// A dark status bar, intended for use on light backgrounds.
12    DarkContent = 3,
13}
14
15impl Default for UIStatusBarStyle {
16    fn default() -> Self {
17        UIStatusBarStyle::DarkContent
18    }
19}