Contents

UISceneDestructionRequestOptions

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

Declaration

@MainActor class UISceneDestructionRequestOptions

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.

See Also

Managing a scene’s life cycle