Struct apple_bundle::info_plist::user_interface::LaunchScreens[][src]

pub struct LaunchScreens {
    pub launch_screen_definitions: Option<LaunchScreenDefinitions>,
    pub url_to_launch_screen_associations: Option<BTreeMap<String, String>>,
    pub default_launch_screen: Option<String>,
}
Expand description

Launch Screens

Fields

launch_screen_definitions: Option<LaunchScreenDefinitions>

A collection of launch screen configuration dictionaries.

Each dictionary in the array resembles the one you might define for the UILaunchScreen key, with the addition of a UILaunchScreenIdentifier key that provides a unique identifier for the dictionary. You use that identifier when associating to the dictionary with a URL scheme in the UIURLToLaunchScreenAssociations array, or to indicate it as the default launch screen with the UIDefaultLaunchScreen key.

Availability

  • iOS 14.0+

Framework

  • SwiftUI
url_to_launch_screen_associations: Option<BTreeMap<String, String>>

The mapping of URL schemes to launch screen configurations.

Set the keys of this dictionary to the URL schemes that your app supports. Provide a value for each key that is the identifier, stored in the UILaunchScreenIdentifier key, of one of the launch screen definitions in your UILaunchScreenDefinitions array.

Any Key - A URL scheme. Set one of the configuration identifiers as the value.

Availability

  • iOS 14.0+

Framework

  • SwiftUI
default_launch_screen: Option<String>

The default launch screen configuration.

Provide the identifier, stored in the UILaunchScreenIdentifier key, of one of the launch screen definitions in your UILaunchScreenDefinitions array. The system displays the named launch screen when launching your app in response to a URL scheme that you don’t enumerate in the UIURLToLaunchStoryboardAssociations dictionary, or when the user launches your app directly.

Availability

  • iOS 14.0+

Framework

  • SwiftUI

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.