1
votes

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?

1

1 Answers

2
votes

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