今天在运行一个之前在xcode6.4上跑的没问题的程序时,发现web view加载微博的授权页面时失败了
于是百度一番,在stackoverflow找到了答案
In iOS9, ATS enforces best practices during network calls, including the use of HTTPS.
强制使用https你怕不怕........
具体解决方法见网页:
http://stackoverflow.com/questions/30739473/nsurlsession-nsurlconnection-http-load-failed-on-ios-9