AVCaptureDevice.isFaceDrivenAutoFocusEnabled not working with continuousAutoFocus

Hi everyone,

I'm developing a camera application that requires precise, predictable control over the focus system. I'm encountering unexpected behavior with face-driven autofocus in continuous autofocus mode.

Issue: When using AVCaptureDevice.FocusMode.continuousAutoFocus, the system continues to prioritize faces for focus even after attempting to disable face-driven autofocus with:

device.automaticallyAdjustsFaceDrivenAutoFocusEnabled = false
device.isFaceDrivenAutoFocusEnabled = false

Observations:

The behavior is inconsistent across different scenes.

In well-lit/properly exposed scenes: focus persistently locks onto faces, ignoring my configuration. . In underexposed scenes: the intended focus behavior is more consistently respected.

AVCaptureDevice.isFaceDrivenAutoFocusEnabled not working with continuousAutoFocus
 
 
Q