NSCURL检测 输出(需要使用 Mac 电脑)
> /usr/bin/nscurl --ats-diagnostics https://apple.com
Default ATS Secure Connection
---
ATS Default Connection
2015-09-09 09:53:01.592 nscurl[9207:5187047] CFNetwork SSLHandshake failed (-9824)
2015-09-09 09:53:01.593 nscurl[9207:5187047] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)
Result : FAIL
---

 

ATS Default Connection
Result : FAIL ( FAIL 失败  PASS通过 说明IOS可以连接到服务器)