简体   繁体   中英

Using iOS camera to scan credit card in webView

I can use the iOS camera to scan credit card details using Safari , but when I loaded the same web page in a UIWebView it didn't work .
Any suggestions ?

here is my HTML input tag content

    <input name="addCreditCardNumber "
           type="text"
           placeholder="addCreditCardNumber"
           pattern="[0-9]*">

This feature is currently available in Safari only. Hope Apple would provide the same in WebView in future. You can use card.io as an alternative for now.

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