You can implement the UIWebView delegate and intercept any attempt to load the page. By setting your own URL, you can send an Objective-C message that can trigger the camera. To send data back to the web interface, you can initiate a new download (as in my example) or pass another method to javascript in UIWebView.
Here is a working example, I just wrote:
Brad the app guy
source share