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
  • 21,049
  • 61
  • 166
  • 295

1 Answers1

0

Try this:

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