iOS中的NSURLErrorCancelled = -999是什么? [英] What is NSURLErrorCancelled = -999 in iOS?

查看:1082
本文介绍了iOS中的NSURLErrorCancelled = -999是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个人描述了如何 NSURLErrorCancelled = -999 被使用。

Can some one describe how "NSURLErrorCancelled = -999" is used.

推荐答案

此错误可能我所造成的无效SSL证书。如果您用于执行请求的框架测试有效SSL,则应将您尝试连接的主机添加到可信主机的白名单中。

This error might me caused by an invalid SSL certificate. If the framework you are using to execute the request tests for valid SSL, you should add the host you are trying to connect to on a whitelist of trusted hosts.

希望帮助任何人:)

这篇关于iOS中的NSURLErrorCancelled = -999是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆