There’s an app called EpocCam that lets you turn the iPhone into a webcam. I was disappointed with the results. The colors get washed out easily, especially in strong direct light. It’s nothing like the image quality you get when taking a video (which was what I expected).