title: Iphone How to access camera from UIWebView?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2915881/access-camera-from-uiwebview">access camera from uiwebview?</a>  </p>
  </blockquote>
  
  
  
  <pre><code>UIImagePickerController *picker = [[UIImagePickerController alloc] init];
  picker.delegate = self;      
  picker.allowsImageEditing = YES;      
  picker.sourceType = UIImagePickerControllerSourceTypeCamera;       
  [self presentModalViewController:picker animated:YES];
   return  NO;
  </code></pre>
  
  <p>I am using the above coding but it is not working ..</p>
  
  <p>how to open a camera from webview 
  any one help me. </p>
  
  <p>Thank you </p>