Is the Scan Credit Card option available on the WebView?

﹥>﹥吖頭↗ 提交于 2019-12-04 09:38:49

问题


The new iOS8 Scan Credit Card option is great on Safari.

Has someone managed to make it work inside a WebView for a web app?

I am using a valid SSL certificate, and I am using the correct ID for input filed as described here: https://stackoverflow.com/a/25925195/3949713

Thanks.


回答1:


No, this option is not available in neither UIWebView nor WKWebView.

Your best bet is to use SFSafariViewController instead. The reason it works there is because it runs in a separate process, to prevent your app from getting access to this security-relevant information.



来源:https://stackoverflow.com/questions/26520578/is-the-scan-credit-card-option-available-on-the-webview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!