---
title: AVCaptureDevice.AspectRatio
framework: avfoundation
role: symbol
role_heading: Structure
path: avfoundation/avcapturedevice/aspectratio
---

# AVCaptureDevice.AspectRatio

String constants describing the different video aspect ratios you can configure for a particular device.

## Declaration

```swift
struct AspectRatio
```

## Topics

### Aspect ratios

- [ratio16x9](avfoundation/avcapturedevice/aspectratio/ratio16x9.md)
- [ratio1x1](avfoundation/avcapturedevice/aspectratio/ratio1x1.md)
- [ratio3x4](avfoundation/avcapturedevice/aspectratio/ratio3x4.md)
- [ratio4x3](avfoundation/avcapturedevice/aspectratio/ratio4x3.md)
- [ratio9x16](avfoundation/avcapturedevice/aspectratio/ratio9x16.md)

### Initializers

- [init(rawValue:)](avfoundation/avcapturedevice/aspectratio/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring dynamic aspect ratio

- [setDynamicAspectRatio(_:completionHandler:)](avfoundation/avcapturedevice/setdynamicaspectratio(_:completionhandler:).md)
- [dynamicAspectRatio](avfoundation/avcapturedevice/dynamicaspectratio.md)
- [dynamicDimensions](avfoundation/avcapturedevice/dynamicdimensions.md)
