I have an app, which has been in production for about 8 years, which uses a live camera view for the purpose of capturing barcodes. The app configures the camera for continuous autofocus with this code:
if ([videoDevice isFocusModeSupported:AVCaptureFocusModeContinuousAutoFocus]) {
videoDevice.focusMode = AVCaptureFocusModeContinuousAutoFocus;
}
This has worked fine for years, but a customer who just upgraded to an iPhone 14 says that it doesn't work on his phone; the image never focuses and the barcode cannot be read.
Has something changed recently, either in iOS or with the iPhone 14, that would render this code incorrect? Xcode does not flag it with any warnings.
Thanks,
Frank
2
0
3.7k