移动端调用相机拍照上传图片

<input type="file" capture="camera" accept="image/*" id="filetest" name="filetest">
看这代码,重要的是capture="camera" accept="image/*"。

 

转载于:https://www.cnblogs.com/Gold-fangjin/p/7388943.html

你可能感兴趣的:(移动端调用相机拍照上传图片)