---
title: dynamicDimensions
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/dynamicdimensions
---

# dynamicDimensions

A key-value observable property describing the output dimensions of the video buffer based on the device’s dynamic aspect ratio.

## Declaration

```swift
var dynamicDimensions: CMVideoDimensions { get }
```

## Discussion

Discussion If the device’s activeFormat’s supportedDynamicAspectRatios is an empty array, this property returns {0,0}.

## See Also

### Configuring dynamic aspect ratio

- [setDynamicAspectRatio(_:completionHandler:)](avfoundation/avcapturedevice/setdynamicaspectratio(_:completionhandler:).md)
- [AVCaptureDevice.AspectRatio](avfoundation/avcapturedevice/aspectratio.md)
- [dynamicAspectRatio](avfoundation/avcapturedevice/dynamicaspectratio.md)
