Class

UIWindowSceneDestructionRequestOptions

An object containing information to use when removing a window scene from your app.

Declaration

class UIWindowSceneDestructionRequestOptions : UISceneDestructionRequestOptions

Overview

Create a UIWindowSceneDestructionRequestOptions object before you close one of your app's scenes using the requestSceneSessionDestruction(_:options:errorHandler:) method of UIApplication. Use this object to specify the dismissal animations to apply to the scene's UI, if that UI is onscreen.

Topics

Configuring the Dismissal Animation

var windowDismissalAnimation: UIWindowScene.DismissalAnimation

The animations to use when dismissing the scene's windows.

enum UIWindowScene.DismissalAnimation

Constants indicating the types of animations available for dismissing a scene's windows.

Relationships

Conforms To

See Also

Activation and Destruction

class UISceneActivationConditions

The set of conditions that define when UIKit activates the current scene.

class UIScene.ActivationRequestOptions

An object containing information you want the system to use when activating the session associated with a scene.

class UISceneDestructionRequestOptions

An object you pass to UIKit when you want to permanently remove a scene and its associated session from your app.