在文件开始实现  allowsAnyHTTPSCertificateForHost 方法

 

@implementation NSURLRequest (NSURLRequestWithIgnoreSSL)

+ (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host
{
    return YES;
}

@end


 

 

相关文章:

猜你喜欢
相关资源
相似解决方案