1. 在Info.plist中添加 NSAppTransportSecurity 类型 Dictionary ;
2. 然后添加 NSAllowsArbitraryLoads 类型Boolean ,值设为 YES;
App Transport Security has blocked a cleartext HTTP (http://) resource load 的解决方法
最新推荐文章于 2018-01-04 15:42:00 发布
1. 在Info.plist中添加 NSAppTransportSecurity 类型 Dictionary ;
2. 然后添加 NSAllowsArbitraryLoads 类型Boolean ,值设为 YES;