简体   繁体   English

使用iOS相机扫描WebView中的信用卡

[英]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 . 我可以使用iOS相机通过Safari扫描credit card详细信息,但是当我在UIWebView加载相同的网页时却无法使用。
Any suggestions ? 有什么建议么 ?

here is my HTML input tag content 这是我的HTML输入标签内容

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

This feature is currently available in Safari only. 该功能目前仅在Safari中可用。 Hope Apple would provide the same in WebView in future. 希望苹果将来能在WebView中提供相同的功能。 You can use card.io as an alternative for now. 您现在可以使用card.io作为替代。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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