iOS 9 … Are WebView(s) exempt from the App Transport Security Exceptions (ATS) rules that block insecure HTTP hosts?

后端 未结 4 1423
臣服心动
臣服心动 2020-12-14 17:06

In iOS 9, Apple is blocking insecure HTTP connections for apps, unless specific hosts are whitelisted.

http://ste.vn/2015/06/10/configuring-app-transport-security-io

4条回答
  •  情话喂你
    2020-12-14 17:40

    SFSafariViewController can show HTTP without the NSAppTransportSecurity key.

    UIWebView and WKWebView require the NSAppTransportSecurity key mentioned above to display HTTP pages.

提交回复
热议问题