Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the Scan Credit Card option available on the WebView?

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.

like image 227
Idris Avatar asked Oct 23 '14 02:10

Idris


1 Answers

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.

like image 73
Ortwin Gentz Avatar answered Oct 07 '22 03:10

Ortwin Gentz