其他分享
首页 > 其他分享> > 【Problem】(IOS objective-c Xcode)App Transport Security has blocked a cleartext HTTP (http://)...

【Problem】(IOS objective-c Xcode)App Transport Security has blocked a cleartext HTTP (http://)...

作者:互联网

【问题】:
调用了这个函数:function
然后报错:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file

【原因】:
Xcode的新特性,需要使用https来传输数据

【解决】:
参考:https://www.cnblogs.com/chglog/p/4746683.html
但是我的有些不一样,我的是xcode10,按照上面的方法,我加入的是:在这里插入图片描述

标签:...,HTTP,cleartext,https,http,Security,blocked
来源: https://blog.csdn.net/qq_34291814/article/details/95043568