Is the Scan Credit Card option available on the WebView?

前端 未结 1 1948
无人及你
无人及你 2021-02-05 23:03

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,

1条回答
  •  不知归路
    2021-02-05 23:55

    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.

    0 讨论(0)
提交回复
热议问题