init(device:)
Creates a slider to control the video zoom factor of a capture device.
Declaration
init(device: AVCaptureDevice)Parameters
- device:
The capture device to control.
Discussion
You can only create a zoom slider with a device that support’s setting its videoZoomFactor property value.