- App Transport Security has block
- App Transport Security has block
- App Transport Security has block
- App Transport Security has block
- App Transport Security has block
- App Transport Security has block
- App Transport Security has block
- App Transport Security has block
- App Transport Security has block
- App Transport Security has block
报错提示
错误原因
- Xcode7.1之后新特性要求App内访问网络请求,要采用 HTTPS 协议。
解决方法
- 在Info.plist中添加 App Transport Security Setting 类型 Dictionary ;
- 在 App Transport Security Setting 下添加 Allows Arbitrary Loads 类型Boolean ,值设为 YES;
网友评论