<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureSystemZoomSlider",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureSystemZoomSlider"
  },
  "title" : "AVCaptureSystemZoomSlider"
}
-->

# AVCaptureSystemZoomSlider

A control that adjusts the video zoom factor of a capture device within the system-recommended range.

```
class AVCaptureSystemZoomSlider
```

## Overview

The system sets the slider’s range to the value of the [`systemRecommendedVideoZoomRange`](/documentation/AVFoundation/AVCaptureDevice/Format/systemRecommendedVideoZoomRange) property of the device’s active format. If a device’s [`activeFormat`](/documentation/AVFoundation/AVCaptureDevice/activeFormat) value changes, the slider updates its range to the new format’s recommendation.

To use this control, add it to the capture session by calling the session’s [`addControl(_:)`](/documentation/AVFoundation/AVCaptureSession/addControl(_:)) method.

## Topics

### Creating a zoom slider

[`init(device:)`](/documentation/AVFoundation/AVCaptureSystemZoomSlider/init(device:))

Creates a slider to control the video zoom factor of a capture device.

[`init(device:action:)`](/documentation/AVFoundation/AVCaptureSystemZoomSlider/init(device:action:))

Creates a slider to control the zoom level of the specified capture device with an action to respond to zoom changes.



---

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)