您的位置:首页 > 产品设计 > UI/UE

loadRequest加载出错解决方案

2016-08-23 19:20 639 查看
网络请求报错:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

解决方案:

在Info.plist中添加NSAppTransportSecurity类型Dictionary。

在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: