Instance Property

autoFocusEnabled

A Boolean value that determines whether the device camera uses fixed focus or autofocus behavior.

Declaration

@property(nonatomic, assign, getter=isAutoFocusEnabled) BOOL autoFocusEnabled;

Discussion

In apps linked against the iOS 11.3 SDK or later, ARKit enables autofocus by default.