iOSError=NSURLErrorDomain Code=-1022解决方法
1、打开工程的plist文件,名称为info.plist
2、添加属性App Transport Security Settings
3、在 App Transport Security Settings下添加子属性Allow Arbitrary Loads
4、设置:Allow Arbitrary Loads 的值为yes。
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:55
阅读量:95
阅读量:34
阅读量:192
阅读量:193