iOS备忘录iOS开发

In order to validate a domain na

2016-04-19  本文已影响1020人  ocarol

解决办法:

since you have manager initialized, you can do:

manager.securityPolicy.allowInvalidCertificates = YES;
manager.securityPolicy.validatesDomainName = NO;

and it will work for a self-signed certificate

链接地址:

http://stackoverflow.com/questions/27808249/problems-with-ssl-pinning-and-afnetworking-2-5-0-nsurlerrordomain-error-1012

上一篇下一篇

猜你喜欢

热点阅读