App Transport Security

  • 运行中的网络请求出现:

    Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection."

    这样的错误,是由于iOS9改用更安全的https,为了能够在iOS9中正常使用欢拓SDK,请在"Info.plist"中进行如下配置

    • v2.3.1版本之前 permission
    • v2.3.1版本之后
      • 在下图Exception Domains中添加你要加载url的域名并设置相应的选项即可 permission
Copyright Talkfun all right reserved,powered by Gitbook修订时间: 2020-05-13 15:42:51

results matching ""

    No results matching ""