iOS UIWebView 加载不被信任的 https 页面

1,051 阅读1分钟
@implementation NSURLRequest (NSURLRequestAvoidSSL)

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

@end