How to access iphone camera from webapp(server-side web)? (ex asp,php,jsp)
it is possible to access camera in iOS
First, in HTML body use video tag as below
this will ask permission to access the camera
Then in JavaScript, by using video element, display the video on the video tag
var video = document.getElementById("video");
navigator.mediaDevices.getUserMedia({video: true, audio: false})
.then(function(s) {
stream = s;
video.srcObject = s;
video.play();
})