Credit card information not available through autofill in WKWebView

Originator:lap.felix
Number:rdar://40340342 Date Originated:17-May-2018 03:23 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.4
Classification:Security Reproducible:Always
 
Summary:
Safari is able to suggest to the user to autofill credit card information but it does not work in WKWebView

Steps to Reproduce:
Build and run the attached sample project on an iOS device configured with a saved credit card.

Notice it’s impossible to autofill the credit card information in the WKWebView

Expected Results:
It should let users autofill their credit card information.

Actual Results:
It does not work like it does in Safari.

Version:
11.4

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!