简体   繁体   中英

Does wkwebview support HTML5 capture attribute?

As the title said, does it support it? Here is the MDN Documentation of it (Incomplete) and Here is the caniuse browsers support list .

However, none of them talked about wkwebview. Does it support this attribute? If so, it would help tremendously.

Thanks for answering this question beforehand.

After some experiments, apparently it is supported, only if an UDID is registered (how this is registered don't ask me, it was through a vendor. I don't have the details.)

It opens the camera and after you took a pic or a video it behaves like any common file picker.

To implement this in one of those html qr/barcode scanners it needs to have the ability to scan an image. But hey, better than nothing right?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM