WkWebView used in Messages Extension WkWebView cannot load non-https URLs.
| Originator: | zhalbrecht | ||
| Number: | rdar://28342774 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 10.0.1 |
| Classification: | Reproducible: | Yes |
Area: Messages Summary: WkWebView will not load urls that are plain http:// It appears to load urls that are https:// without problems. WkWebView works as expected in main iOS app. This only appears to be an issue with the extension. Steps to Reproduce: See attached sample project. Run MessagesExtension target Tap 'https' button: https://google.com loads Tap 'http' button: http://lurefishbar.com does not load. There is no network request made (verified with http proxy Charles) I have tested with a variety of plain http:// urls. None of them load. Expected Results: WkWebView loads both http and https urls. Actual Results: Blank WkWebView Version: 10.0.1 (14A403) Configuration: iPhone 6S 128GB Verizon on Wifi Attachments: 'TestWkWebViewHttpInExtension.zip' was successfully uploaded.
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!
Did you try specifying your desired ATS settings in the Info.plist of your Messages extension?