Wrong03-App Transport Security has blocked a cleartext HTTP (http://) resource load since it is i
Posted itdali
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Wrong03-App Transport Security has blocked a cleartext HTTP (http://) resource load since it is i相关的知识,希望对你有一定的参考价值。
ios创建了UIWebView加载页面时整个页面灰色,不显示内容,debug提示内容为:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file.
解决方法:
在info.plist文件中添加一个字典App Transport Security Settings
key:Allow Arbitrary Loads
value:YES
如图:
以上是关于Wrong03-App Transport Security has blocked a cleartext HTTP (http://) resource load since it is i的主要内容,如果未能解决你的问题,请参考以下文章
使用 HTTP2 和 TLS 的 Cowboy Web 服务器在 Chrome 中获取 ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY
(ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1091)