AFN访问https的时候需要设定如下两个属性:
manager.securityPolicy.allowInvalidCertificates = YES;
manager.securityPolicy.validatesDomainName = NO;
如下图所示:
AFN访问https的时候需要设定如下两个属性:
manager.securityPolicy.allowInvalidCertificates = YES;
manager.securityPolicy.validatesDomainName = NO;
如下图所示: