美文网首页
iOS [App Transport Security has

iOS [App Transport Security has

作者: Bager | 来源:发表于2017-05-18 13:14 被阅读30次

    Error: 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
    解决方法:
    iOS9因为强制使用了https协议,所以需要在info文件中添加如下字段:
    NSAppTransportSecurity
    NSAllowsArbitraryLoads
    设置为YES。

    相关文章

      网友评论

          本文标题:iOS [App Transport Security has

          本文链接:https://www.haomeiwen.com/subject/ztjsxxtx.html