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


class UISceneDestructionRequestOptions : NSObject


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.


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.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software