Instance Property

isAutoFocusEnabled

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

Declaration

var isAutoFocusEnabled: Bool { get set }

Discussion

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