---
title: AVCaptureDeskViewApplication
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avcapturedeskviewapplication
---

# AVCaptureDeskViewApplication

An object that programmatically presents Desk View.

## Declaration

```swift
class AVCaptureDeskViewApplication
```

## Overview

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: 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

- [present(completionHandler:)](avfoundation/avcapturedeskviewapplication/present(completionhandler:).md)
- [present(launchConfiguration:completionHandler:)](avfoundation/avcapturedeskviewapplication/present(launchconfiguration:completionhandler:).md)
- [AVCaptureDeskViewApplication.LaunchConfiguration](avfoundation/avcapturedeskviewapplication/launchconfiguration.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Continuity Camera

- [Supporting Continuity Camera in your tvOS app](avkit/supporting-continuity-camera-in-your-tvos-app.md)
- [Supporting Continuity Camera in your macOS app](avfoundation/supporting-continuity-camera-in-your-macos-app.md)
