Enumeration Case

AVCaptureDevice.AutoFocusRangeRestriction.near

The device primarily attempts to focus on subjects near the camera.

Declaration

case near = 1

Discussion

You should use this value if your app uses AVCaptureMetadataOutput to recognize machine-readable codes.