<!--
{
  "documentType" : "article",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/capture-device-zoom",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Zoom"
}
-->

# Zoom

Configure device zooming behavior and inspect hardware capabilities.

## Topics

### Adjusting zoom

[`videoZoomFactor`](/documentation/AVFoundation/AVCaptureDevice/videoZoomFactor)

A value that controls the cropping and enlargement of images captured by the device.

[`-  rampToVideoZoomFactor:withRate:`](/documentation/AVFoundation/AVCaptureDevice/ramp(toVideoZoomFactor:withRate:))

Begins a smooth transition from the current zoom factor to another.

[`-  cancelVideoZoomRamp`](/documentation/AVFoundation/AVCaptureDevice/cancelVideoZoomRamp())

Smoothly ends a zoom transition in progress.

### Observing zoom

[`rampingVideoZoom`](/documentation/AVFoundation/AVCaptureDevice/isRampingVideoZoom)

A Boolean value that indicates whether a zoom transition is in progress.

### Inspecting zoom factors

[`minAvailableVideoZoomFactor`](/documentation/AVFoundation/AVCaptureDevice/minAvailableVideoZoomFactor)

The minimum zoom factor allowed in the current capture configuration.

[`maxAvailableVideoZoomFactor`](/documentation/AVFoundation/AVCaptureDevice/maxAvailableVideoZoomFactor)

The maximum zoom factor allowed in the current capture configuration.

[`virtualDeviceSwitchOverVideoZoomFactors`](/documentation/AVFoundation/AVCaptureDevice/virtualDeviceSwitchOverVideoZoomFactors)

An array of video zoom factors at or above which a virtual device, such as the dual camera, may switch to its next constituent device.

[`dualCameraSwitchOverVideoZoomFactor`](/documentation/AVFoundation/AVCaptureDevice/dualCameraSwitchOverVideoZoomFactor)

The video zoom factor at which a dual camera device can automatically switch between cameras.

[`displayVideoZoomFactorMultiplier`](/documentation/AVFoundation/AVCaptureDevice/displayVideoZoomFactorMultiplier)

A video zoom factor multiplier to use when displaying zoom information in a user interface.

### Enabling geometric distortion correction

[`geometricDistortionCorrectionSupported`](/documentation/AVFoundation/AVCaptureDevice/isGeometricDistortionCorrectionSupported)

A Boolean value that indicates whether this device supports geometric distortion correction.

[`geometricDistortionCorrectionEnabled`](/documentation/AVFoundation/AVCaptureDevice/isGeometricDistortionCorrectionEnabled)

A Boolean value that indicates whether geometric distortion correction is enabled for this device.



---

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)