Access Camera through iPhone Web App

前端 未结 3 875
北荒
北荒 2020-12-02 12:50

I understand that it is not quite possible to access webcam through HTML. So how about on the iPhone? Is it possible?

相关标签:
3条回答
  • 2020-12-02 12:59

    No. You can access the phone through the native API, but not via a web app.

    0 讨论(0)
  • 2020-12-02 13:02

    Take a look at: http://code.google.com/p/iphone-photo-picker/

    This was done by the NextStop guys, and is open sourced under MIT license. It basically uses an URL scheme to allow you to redirect a web user to a tiny native app long enough to take the picture, and then back to your web app to continue their experience.

    I haven't used it yet, but I saw them demo it in a webcast and plan on using it myself when we get our mobile site done enough to incorporate it.

    0 讨论(0)
  • 2020-12-02 13:18

    Starting with iOS6, You are able to access the Camera, and Photos using the<input type="file" /> input

    0 讨论(0)
提交回复
热议问题