문제

I am looking for launching native iOS device Camera from a Pure web app(launching thru Safari). Not through any Native or Hybrid frameworks. I wondered how this paste html page http://pastehtml.com/view/chh0dj31e.html is able to directly access iOS device camera through a pure web application, if i launch this link in device safari. I want to develop the same way.

If anyone has any idea, could you share it with me please?

도움이 되었습니까?

해결책

Use the following input tag

<input type="file" accept="image/*" capture="camera">

it will show 2 option with take photo and chose existing.

for more info see this link

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top