13
NSURLSession / NSURLConnection HTTP加载在iOS 9上失败
试图在iOS9上运行我现有的应用程序,但在使用时出现故障AFURLSessionManager。 __block NSURLSessionDataTask *task = [self.sessionManager dataTaskWithRequest:request completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) { if (error) { } else { } }]; [task resume]; 我收到以下错误: Error Domain=NSURLErrorDomain Code=-999 "cancelled. 还获得以下日志: NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824 CFNetwork SSLHandshake failed (-9824) 更新: 我为解决方案添加了多个更新: NSURLSession / NSURLConnection在iOS 9上的HTTP加载失败