title: iOS Camera-Based Barcode Scanner via URL
body: <p>How can I read linear (one-dimensional, such as Code 128) barcodes using the camera on an iOS device from a web page?</p>
  
  <p>Essentially, I suppose I'm looking for a free barcode scanner app that I can install on an iPad but that can be used by my web app. I want to launch the barcode scanner from the web browser and then receive the scanned data. How does this process look on iOS? Does the barcode scanner app need to support a callback scheme like <code>someProtocol://scanBarcode?callback=http://example.com/scan.do%3Fscanned=</code> so it can "relaunch" my web app? Are there other ways to accomplish this type of data transfer/interaction between web apps and native apps on iOS?</p>