WKWebView How to display links to http: pages
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a WKWebView which will display users' webpages using links gathered online. Sometimes these links are http: which are blocked by ATS . I've tried simply changing the links to https: , which works sometimes. However, very often I get an error "An SSL error has occurred and a secure connection to the server cannot be made". Sometimes the page simply redirects to the http: , which gets blocked again. Other times the https: page is simply "Not found". Removing http: only results in "Unsupported URL" error. Is there any way to get