@implementation NSURLRequest (NSURLRequestWithIgnoreSSL)
+ (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host
{
return YES;
}
@end
标签:san gpo tps view bool ignore https ring bsp
@implementation NSURLRequest (NSURLRequestWithIgnoreSSL)
+ (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host
{
return YES;
}
@end
iOS UIWebView 访问https绕过证书验证的方法
标签:san gpo tps view bool ignore https ring bsp
原文地址:http://www.cnblogs.com/feng9exe/p/8046077.html