Asks the system to dismiss an existing scene and remove it from the app switcher.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
The session whose scene you want to remove from the screen and app switcher.
Information for the system to use when dismissing the scene. For information about how to create this object, see
Destruction Request Options
An error handler block to execute if a problem occurs. The method does not execute this block when it successfully dismisses the scene. This block has no return value and has the following parameter:
NSErrorobject describing the problem that occurred.
If the specified scene is onscreen, calling this method dismisses it using the specified options. The method sends a disconnect notification to the scene and then calls your app delegate's