AVCaptureSystemZoomSlider
A control that adjusts the video zoom factor of a capture device within the system-recommended range.
Declaration
class AVCaptureSystemZoomSliderMentioned in
Overview
The system sets the slider’s range to the value of the systemRecommendedVideoZoomRange property of the device’s active format. If a device’s 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(_:) method.