<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: 16.1.0 -",
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDeskViewApplication/present(launchConfiguration:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDeskViewApplication(im)presentWithLaunchConfiguration:completionHandler:"
  },
  "title" : "present(launchConfiguration:completionHandler:)"
}
-->

# present(launchConfiguration:completionHandler:)

Launches Desk View with the configuration and completion handler that you specify.

```
func present(launchConfiguration: AVCaptureDeskViewApplication.LaunchConfiguration, completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)
```

## Parameters

`launchConfiguration`

A configuration that specifies how to present Desk View.

`completionHandler`

The code to perform after the system displays Desk View or the user transitions to Desk View after setup, depending on the configuration.

## Discussion

If Desk View is already running, this method brings it to the front. If Desk View is in the Dock, this method opens it and brings it to the front.

Desk View launches in setup mode. This mode shows the full field of view of an ultrawide camera with a superimposed trapezoid that indicates the cropped desk region to display. The system displays this region after the user completes setup and starts Desk View.

Create an instance of [`AVCaptureDeskViewApplication.LaunchConfiguration`](/documentation/AVFoundation/AVCaptureDeskViewApplication/LaunchConfiguration) and set it for `launchConfiguration` to specify the frame for Desk View and when to perform the `completionHandler`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)