We quickly forget how bad the past cameras were for the iPhone. The original iPhone and iPhone 3G feature a built-in Fixed focus 2.0 megapixel camera located on the back for still digital photos. It has no optical zoom, flash or autofocus, and does not support video recording. The iPhone 3GS has a 3.2 megapixel camera, manufactured by OmniVision, featuring autofocus, auto white balance, and auto macro (up to 10 cm). It is also capable of capturing 640x480 (VGA resolution) video at 30 frames per second.
The iPhone 4 introduced a 5.0 megapixel camera, also located on the back, which is equipped with a backside illuminated sensor capable of capturing pictures in low-light conditions, as well as an LED flash capable of staying lit for video recording at 720p resolution. The camera on the iPhone 4S is capable of shooting 8MP stills and record 1080p videos. The camera can now be accessed directly from the lock screen, and the volume up button as a shutter trigger. The built-in gyroscope is able to stabilize the camera while recording video.