Using iPhone 4s camera to record video live on OS X
Go to App Store put "iPhone webcam" into search and you will find few apps that can help you use your iPhone cam as webcam for you Mac.

Of course every such program relies on desktop client that you need to run or install in order for this functionality to work.