AFSecurityPolicy * securityPolicy = [AFSecurityPolicy policyWithPinningMode:AFSSLPinningModeNone];
securityPolicy.allowInvalidCertificates = YES;
securityPolicy.validatesDomainName = NO;
mgr.securityPolicy = securityPolicy;
AFSecurityPolicy * securityPolicy = [AFSecurityPolicy policyWithPinningMode:AFSSLPinningModeNone];
securityPolicy.allowInvalidCertificates = YES;
securityPolicy.validatesDomainName = NO;
mgr.securityPolicy = securityPolicy;
本文标题:AFN 跳过 https 验证
本文链接:https://www.haomeiwen.com/subject/kviffctx.html
网友评论