Camera focus issues at close range on iOS 16

Since iOS 16, in third-party apps, the camera does not focus on objects at a distance of 10 to 12 cm. This renders all apps that require close-range focus, such as barcode scanners, QR code readers, and others, completely obsolete and non-functional. You can verify this by opening the camera from apps like Instagram or WhatsApp, for example. It does not focus at close range.

As a developer, I have not found a solution yet.

Can someone help me with this issue starting from iOS 16?

Will there be any Apple update to fix this problem?

I have tested this with an iPhone 14 and iPhone S6, both running iOS 16...