如何使用NSURLConnection连接不可信证书的SSL?
NSMutableURLRequest *urlRequest=[NSMutableURLRequest requestWithURL:url];[ NSURLConnection sendSynchronousRequest: urlRequest returningResponse: nil error: &error ];
Error Domain=NSURLErrorDomain Code=-1202 UserInfo=0xd29930 "untrusted server certificate".
相关分类