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§
Source§impl Clone for LaunchScreens
impl Clone for LaunchScreens
Source§fn clone(&self) -> LaunchScreens
fn clone(&self) -> LaunchScreens
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LaunchScreens
impl Debug for LaunchScreens
Source§impl Default for LaunchScreens
impl Default for LaunchScreens
Source§fn default() -> LaunchScreens
fn default() -> LaunchScreens
Source§impl<'de> Deserialize<'de> for LaunchScreens
impl<'de> Deserialize<'de> for LaunchScreens
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for LaunchScreens
impl PartialEq for LaunchScreens
Source§impl Serialize for LaunchScreens
impl Serialize for LaunchScreens
impl Eq for LaunchScreens
impl StructuralPartialEq for LaunchScreens
Auto Trait Implementations§
impl Freeze for LaunchScreens
impl RefUnwindSafe for LaunchScreens
impl Send for LaunchScreens
impl Sync for LaunchScreens
impl Unpin for LaunchScreens
impl UnwindSafe for LaunchScreens
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.