iOS9 - HTTP Connection Error

帅比萌擦擦* 提交于 2019-11-28 10:58:44

From Project Navigator click your project's name.

Now, on the right side you' ll see the General Tab of your project.Select the Info Tab

Expand the Customs iOS Target Properties

Add a new type, Name it as NSAppTransportSecurity, type as Dictionary.It will be convert in this text App Transport Security Settings

Inside that add a new item and name it as NSAllowsArbitraryLoads, type as Boolean, value YES.

See this thread on the forums for the further details what apple... Add the entry to info.plist

https://forums.developer.apple.com/message/5857#5857

And refer to Session 711 at WWDC. https://developer.apple.com/videos/wwdc/2015/?id=711

EchoXuan

add to the whitelist

Connect the wrong domain name was added to the whitelist, even if the domain name has been used for https.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!