在文件开始实现 allowsAnyHTTPSCertificateForHost 方法
@implementation NSURLRequest (NSURLRequestWithIgnoreSSL) + (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host { return YES; } @end
Copyright © 2024 冰天雪域 Powered by .NET 8.0 on Kubernetes