UISceneDestructionRequestOptions
An object you pass to UIKit to permanently remove a scene and its associated session from your app.
Declaration
@MainActor class UISceneDestructionRequestOptionsOverview
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.