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

# AVCaptureDeskViewApplication

An object that programmatically presents Desk View.

```
class AVCaptureDeskViewApplication
```

## Overview

Use this class to programmatically launch Desk View from your app. You can optionally customize the presentation and specifiy an action to take afterward.

> Note:
> Desk View is available in iOS 16 and later on iPhone 11 and later, excluding iPhone SE, for use with a Mac running macOS 13 and later.

The following example shows how to configure and present Desk View with a completion handler:

```swift
let deskView = AVCaptureDeskViewApplication()
let configuration = AVCaptureDeskViewApplication.LaunchConfiguration()

// Use the previously set frame.
configuration.mainWindowFrame = .zero

// Execute the completion handler when the user starts Desk View.
configuration.requiresSetUpModeCompletion = true

// Launch Desk View with a configuration and completion handler.
deskView.present(launchConfiguration: configuration) { error in
    // Perform error handling and additional tasks.
}
```

## Topics

### Presenting the Desk View app

[`-  presentWithCompletionHandler:`](/documentation/AVFoundation/AVCaptureDeskViewApplication/present(completionHandler:))

Launches Desk View with no additional configuration and then performs a completion handler if you specify it.

[`-  presentWithLaunchConfiguration:completionHandler:`](/documentation/AVFoundation/AVCaptureDeskViewApplication/present(launchConfiguration:completionHandler:))

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

[`LaunchConfiguration`](/documentation/AVFoundation/AVCaptureDeskViewApplication/LaunchConfiguration)

An object that configures how to present Desk View.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)