Instance Method

isFocusModeSupported:

Returns a Boolean value that indicates whether the device supports the given focus mode.

Declaration

- (BOOL)isFocusModeSupported:(AVCaptureFocusMode)focusMode;

Parameters

focusMode

A focus mode. See AVCaptureFocusMode for possible values.

Return Value

YES if the focusMode is supported, otherwise NO.

See Also

Managing Focus Settings

focusMode

The capture device’s focus mode.

focusPointOfInterest

The point of interest for focusing.

focusPointOfInterestSupported

Indicates whether the device supports a point of interest for focus.

adjustingFocus

Indicates whether the device is currently adjusting its focus setting.

smoothAutoFocusEnabled

A Boolean value that determines whether the device has smooth autofocus enabled.

smoothAutoFocusSupported

A Boolean value that indicates whether the device supports smooth autofocus.

autoFocusRangeRestriction

A value controlling the allowable range for automatic focusing.

autoFocusRangeRestrictionSupported

A Boolean value that indicates whether the device supports focus range restrictions.

AVCaptureFocusMode

Constants to specify the focus mode of a capture device.

AVCaptureAutoFocusRangeRestriction

Constants to specify the autofocus range of a capture device.