Contents

present(from:completionHandler:)

Declaration

func present(from windowScene: UIWindowScene, completionHandler: @escaping  @Sendable ((any Error)?) -> Void)
func present(from windowScene: UIWindowScene) async throws

Parameters

  • windowScene:

    The window scene to present from.

  • completionHandler:

    Called when presentation completes. error is nil on success.

Discussion

Present the recording editor from the specified window scene.