I ran into a strange problem.
A camera app using AVFoundation, I use the following code;
captureDevice = AVCaptureDevice.default(AVCaptureDevice.DeviceType.builtInUltraWideCamera, for: AVMediaType.video, position: .back)
then,
let isAutoFocusSupported = captureDevice.isFocusModeSupported(.autoFocus)
"isAutoFocusSupported" should be "true".
For iPhone 13 pro, it is "true".
But for 13 / 13 mini, it is "false".
Why?