Camera Auto-Focus: When scanning documents on your iPhone, the camera auto-focus feature helps to adjust the focus on the document, allowing for a clear and sharp image.
This is achieved through the use of sensors and algorithms that adjust the focal length to achieve optimal focus.