Starting 2007, all of the iPhone models showed good performance. However, the iPhone 4S camera is by far the best.
We have side-by-side images comparison of the gradual improvement of the iPhone camera from one iPhone generation to another; the original iPhone, iPhone 3G, iPhone 3GS, iPhone 4 and the iPhone 4S. These will show you how the quality of pictures are better and more crispy.
[Via]