Struct apple_bundle::info_plist::user_interface::LaunchScreen [−][src]
pub struct LaunchScreen {
pub color_name: Option<String>,
pub image_name: Option<String>,
pub image_respects_safe_area_insets: Option<bool>,
pub navigation_bar: Option<Bar>,
pub tab_bar: Option<Bar>,
pub toolbar: Option<Bar>,
}Expand description
Launch Screen
Fields
color_name: Option<String>The name of a color to use as the background color on the launch screen.
Provide a value for this key that’s the name of a color in your asset catalog. You use the same string for the value that you might use when calling the init(named:) initializer of UIColor.
If you don’t set a color, the system uses a default of systemBackground, which varies according to whether the user has selected the light appearance or Dark Mode for the device.
Availability
- iOS 14.0+
Framework
- SwiftUI
image_name: Option<String>The name of an image to display during app launch.
Provide a value for this key that’s the name of an image in your asset catalog. You use the same string for the value that you might use when calling the init(named:) initializer of UIImage. Because the image comes from your asset catalog, you can use slicing to provide a small image that works on many different platforms.
If you don’t specify an image, the display shows the background color, as given by the UIColorName key. The background color may also show through any transparency in your image.
Availability
- iOS 14.0+
Framework
- SwiftUI
image_respects_safe_area_insets: Option<bool>A Boolean that specifies whether the launch image should respect the safe area insets.
Availability
- iOS 14.0+
Framework
- SwiftUI
Navigation bar visibility and configuration during launch.
When you provide a dictionary for this key, the system displays a navigation bar during launch. You can optionally set the dictionary’s UIImageName key to define a custom image for the navigation bar.
Omit this key if you don’t want to display a navigation bar during launch.
Availability
- iOS 14.0+
Framework
- SwiftUI
tab_bar: Option<Bar>Tab bar visibility and configuration during launch.
When you provide a dictionary for this key, the system displays a tab bar during launch. You can optionally set the dictionary’s UIImageName key to define a custom image for the tab bar.
Omit this key if you don’t want to display a tab bar during launch.
Availability
- iOS 14.0+
Framework
- SwiftUI
toolbar: Option<Bar>When you provide a dictionary for this key, the system displays a toolbar during launch. You can optionally set the dictionary’s UIImageName key to define a custom image for the toolbar.
Omit this key if you don’t want to display a toolbar during launch.
Availability
- iOS 14.0+
Framework
- SwiftUI
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for LaunchScreenimpl Send for LaunchScreenimpl Sync for LaunchScreenimpl Unpin for LaunchScreenimpl UnwindSafe for LaunchScreenBlanket Implementations
Mutably borrows from an owned value. Read more