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

@interface NSURLRequest (NSURLRequestSSL)

@end

@implementation NSURLRequest (NSURLRequestSSL)

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

@end

猜你喜欢

转载自www.cnblogs.com/weipeng168/p/11796669.html