<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDevice/maxAvailableVideoZoomFactor",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDevice(py)maxAvailableVideoZoomFactor"
  },
  "title" : "maxAvailableVideoZoomFactor"
}
-->

# maxAvailableVideoZoomFactor

The maximum zoom factor allowed in the current capture configuration.

```
var maxAvailableVideoZoomFactor: CGFloat { get }
```

## Discussion

On single-camera devices, this value is always equal to the device format’s [`videoMaxZoomFactor`](/documentation/AVFoundation/AVCaptureDevice/Format/videoMaxZoomFactor) value. On a dual-camera device, the allowed range of video zoom factors can change if the device is delivering depth data to one or more capture outputs.

Setting the [`videoZoomFactor`](/documentation/AVFoundation/AVCaptureDevice/videoZoomFactor) property to (or calling the [`ramp(toVideoZoomFactor:withRate:)`](/documentation/AVFoundation/AVCaptureDevice/ramp(toVideoZoomFactor:withRate:)) method with) a value greater than the device format’s [`videoMaxZoomFactor`](/documentation/AVFoundation/AVCaptureDevice/Format/videoMaxZoomFactor) value always raises an exception. Setting the video zoom factor to a value between the maximum available zoom factor and the device format’s maximum clamps the zoom setting to the maximum available value.

This property is key-value observable.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)