I wanna force uploading file from camera without choosing in gallery on IOS, I have tried to use this code but it just work on android, not IOS (Safari):
<input type="file" accept="image/*" capture="camera" />
That is possible.
Solution A(better compatibility):
getUserMedia
.Solution B(easier):
<input type="file" accept="image/*" capture />
Tested on iOS 12 Safari
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With