0

I know i can use this to allow the user to use the devices camera:

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

On iOS this comes up with a bubble asking the user to take photo or choose existing.

Is there a way to force this to just launch the devices camera rather than allowing the user to choose existing?

panthro
  • 22,779
  • 66
  • 183
  • 324

1 Answers1

0

Try this:

<input type="file" accept="image/*" capture="camera">
Malik Naik
  • 1,472
  • 14
  • 16