Is the Scan Credit Card option available on the We

2020-05-27 07:38发布

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条回答
家丑人穷心不美
2楼-- · 2020-05-27 08:01

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.

查看更多
登录 后发表回答