The cameras in your iPhone take great photos even in difficult conditions. If you accidentally move a camera when you take a picture, the resulting image can be blurry. To prevent this, some iPhone models have optical image stabilization (OIS).1 OIS lets you take sharp photos even if you accidentally move the camera. Additionally, some iPhone models have closed-loop autofocus (AF).2 Closed-loop AF resists the effects of gravity and vibration to preserve sharp focus in stills, videos, and panoramas.

With OIS, a gyroscope senses that the camera moved. To reduce image motion, and the resulting blur, the lens moves according to the angle of the gyroscope. With closed-loop AF, on-board accelerometers measure and compensate for gravity and vibration effects. Magnetic sensors determine the lens position so that the compensating motion can be set accurately.