Class

UISceneDestructionRequestOptions

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

Declaration

class UISceneDestructionRequestOptions : NSObject

Overview

Create a UISceneDestructionRequestOptions object before calling the requestSceneSessionDestruction(_:options:errorHandler:) method of UIApplication. When destroying a UIWindowScene, create a UIWindowSceneDestructionRequestOptions object instead and use it to configure the dismissal animations.

Relationships

Inherits From

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 UIWindowSceneDestructionRequestOptions

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