美文网首页
AFN 跳过 https 验证

AFN 跳过 https 验证

作者: Ice丶泽 | 来源:发表于2019-06-11 11:42 被阅读0次
            AFSecurityPolicy * securityPolicy = [AFSecurityPolicy policyWithPinningMode:AFSSLPinningModeNone];
            securityPolicy.allowInvalidCertificates = YES;
            securityPolicy.validatesDomainName = NO;
            mgr.securityPolicy = securityPolicy;
    

    相关文章

      网友评论

          本文标题:AFN 跳过 https 验证

          本文链接:https://www.haomeiwen.com/subject/kviffctx.html