2017.01.01开始 苹果强制要求所有app使用https 而绕过苹果https的方法就隐藏在苹果文档中下面的一段话:
引用自苹果官方文档:
There are several ways to take advantage of SSL and TLS:
At a high level, you can use an https URL with the URL Loading System (the NSURL class, CFURL functions, and related classes).
At a lower level, you can use the CFNetwork API to negotiate an SSL or TLS connection.
For maximum control, you can use the Secure Transport API in OS X or in iOS 5.0 and later.