---
title: recommendedVideoFormatFor4KResolution
framework: arkit
role: symbol
role_heading: Type Property
path: arkit/arconfiguration/recommendedvideoformatfor4kresolution
---

# recommendedVideoFormatFor4KResolution

Provides a 4K video format if the device and configuration support it.

## Declaration

```swift
class var recommendedVideoFormatFor4KResolution: ARConfiguration.VideoFormat? { get }
```

## Discussion

Discussion If the device and configuration support 4K, the returned video format is also present in the configuration’s supportedVideoFormats array. This function returns nil if the device or configuration doesn’t support 4K, so you can call this function to determine whether to enable 4K for your session.

## See Also

### Managing video capture options

- [videoFormat](arkit/arconfiguration/videoformat-swift.property.md)
- [supportedVideoFormats](arkit/arconfiguration/supportedvideoformats.md)
- [ARConfiguration.VideoFormat](arkit/arconfiguration/videoformat-swift.class.md)
- [videoHDRAllowed](arkit/arconfiguration/videohdrallowed.md)
- [configurableCaptureDeviceForPrimaryCamera](arkit/arconfiguration/configurablecapturedeviceforprimarycamera.md)
- [recommendedVideoFormatForHighResolutionFrameCapturing](arkit/arconfiguration/recommendedvideoformatforhighresolutionframecapturing.md)
