---
title: "videoFieldOfView(for:geometricDistortionCorrected:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcapturedevice/format/videofieldofview(for:geometricdistortioncorrected:)"
---

# videoFieldOfView(for:geometricDistortionCorrected:)

Indicates the horizontal field of view for an aspect ratio, either uncorrected or corrected for geometric distortion.

## Declaration

```swift
func videoFieldOfView(for aspectRatio: AVCaptureDevice.AspectRatio, geometricDistortionCorrected: Bool) -> Float
```

## Discussion

Discussion A float indicating the field of view for the corresponding AVCaptureDevice.AspectRatio. Set AVCaptureDevice/geometricDistortionCorrected to true to receive the field of view corrected for geometric distortion. If this device format does not support dynamic aspect ratio, this function returns 0.

## See Also

### Determining dynamic aspect ratio support

- [supportedDynamicAspectRatios](avfoundation/avcapturedevice/format/supporteddynamicaspectratios.md)
