activateSceneSession(for:errorHandler:)
Asks the system to activate an existing scene or create a new scene and associate it with your app.
Declaration
@MainActor @preconcurrency func activateSceneSession(for request: UISceneSessionActivationRequest, errorHandler: ((any Error) -> Void)? = nil)Parameters
- request:
The activation request.
- errorHandler:
A handler to call if the request fails.