title: Launching a native application from a link of website on iPhone
body: <p>I have a query regarding launching a native application from a link of website on iPhone. </p>
  
  <p>I will explain.
  Generally a web based application is used to work online without using any feature of iPhone device (such as GPS, Camera, Accelerometer etc.)</p>
  
  <p>I have a iPhone specific website which performs many tasks online.</p>
  
  <p>Now while keeping all the functionality same, I want to add a feature of taking a picture from iPhone in-built camera.
  i.e. when user clicks a button on website "Take Picture", my native application should be launched, which will take a picture and do specific tasks..</p>
  
  <p>How to capture a event of button click which is performed on website?
  Should I use UIWebView or Safari?</p>
  
  <p>I know that using URL Scheme we can launch Safari from native application.
  But how to achieve the opposite as explained above?</p>
  
  <p>All other functionality works great on website, so I don't want to convert the whole website into native application.
  (Otherwise I will have to deal with web services). Only this functionality needs to be added.</p>