Don't forget that an iPhone has sensors other than the CCD, so it knows when the camera is being twisted / translated around. You would need some depth perception to recover the image, but lucky you, that's exactly what you get if the camera is moving.