报错如下:
App Transport Security has blocked a cleartext HTTP (http://)resource load since it is insecure.
解决方案:
1.配置成https(不过对于已经是明文的,肯定很麻烦了)
2.修改info.plist配置:
在info.plist 加入key
NSAppTransportSecurity
NSAllowsArbitraryLoads
如图所示:

报错如下:
App Transport Security has blocked a cleartext HTTP (http://)resource load since it is insecure.
解决方案:
1.配置成https(不过对于已经是明文的,肯定很麻烦了)
2.修改info.plist配置:
在info.plist 加入key
NSAppTransportSecurity
NSAllowsArbitraryLoads
如图所示:
本文标题:Xcode升级到7.0后 网络问题
本文链接:https://www.haomeiwen.com/subject/jakylttx.html
网友评论