---
title: "captureHighResolutionFrame(using:completion:)"
framework: arkit
role: symbol
role_heading: Instance Method
path: "arkit/arsession/capturehighresolutionframe(using:completion:)"
---

# captureHighResolutionFrame(using:completion:)

Requests a single, high resolution frame to be captured.

## Declaration

```swift
func captureHighResolutionFrame(using photoSettings: AVCapturePhotoSettings?, completion: @escaping @Sendable (ARFrame?, (any Error)?) -> Void)
```

```swift
func captureHighResolutionFrame(using photoSettings: AVCapturePhotoSettings?) async throws -> ARFrame
```

## Parameters

- `photoSettings`: Custom AVCapturePhotoSettings to be used.
- `completion`: Block being called when the call completes.

## Discussion

Discussion Some video formats do not support a significantly higher still image resolution than the streaming camera resolution. Use the isRecommendedForHighResolutionFrameCapturing method on the video format to check if the format is recommended. For passing customized photo settings to this method, obtain a defaultPhotoSettings object from the video format and modify it.
