Contents

systemRecommendedVideoZoomRange

The system’s recommended zoom range for this device format.

Declaration

@nonobjc var systemRecommendedVideoZoomRange: ClosedRange<CGFloat>? { get }

Discussion

Use this value to create a slider in your app’s user interface that controls a device’s zoom within a system-recommended range. When a recommendation isn’t available, this property returns nil.

Apps can key-value observe a capture device’s minAvailableVideoZoomFactor and maxAvailableVideoZoomFactor property values to know when a device limits its supported zoom to the recommended range.

See Also

Determining zoom capabilities