We have noticed some scanning challenges on the two new iPhone models: iPhone 14 Pro and iPhone 14 Pro Max when using our Barcode Scanner SDK. Our investigation showed that the main camera of these iPhone models cannot focus at distances of less than 15cm. The impact of this camera behavior is that it makes it difficult to scan at very close range and it impacts in particular the scanning of barcodes with thin features/bars because such codes need to be scanned at close range to have sufficient image resolution.
Our testing showed that barcodes that are less than 2 cm or ~1 inch in size (and usually have such small features) are impacted.
We recommend you to update to our upcoming Scandit SDK6.16 release; beta version will be available by mid- December 2022, production due mid-January 2023.
If this issue is a major blocker for your workflow and you’d like to have it immediately fixed, you can implement this quick fix which will only affect the iPhone 14 Pro and iPhone 14 Pro Max devices:
- Upgrade to Scandit SDK 6.15
- Change how the camera is initialized to set to true the new option “iPhoneProCameraOptimization”
Replace the following snippet:
camera = Camera.default
With this one:
let recommendedCameraSettings = BarcodeCapture.recommendedCameraSettings
Was this article helpful?