Contents

UIWindowSceneDestructionRequestOptions

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

Declaration

@MainActor class UIWindowSceneDestructionRequestOptions

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

See Also

Activation and destruction