[][src]Struct creator_tools::types::LaunchScreen

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>,
}

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.

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.

image_respects_safe_area_insets: Option<bool>

A Boolean that specifies whether the launch image should respect the safe area insets.

navigation_bar: Option<Bar>

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.

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.

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.

Trait Implementations

impl Clone for LaunchScreen[src]

impl Debug for LaunchScreen[src]

impl Default for LaunchScreen[src]

impl<'de> Deserialize<'de> for LaunchScreen[src]

impl PartialEq<LaunchScreen> for LaunchScreen[src]

impl Serialize for LaunchScreen[src]

impl StructuralPartialEq for LaunchScreen[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,