Inordertovalidateadomainnameforselfsignedcertificates,youMUSTusep

NO IMAGE

##解決辦法:
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

相關文章

Promise串行調用面試題

使用Autolayout對多行文本Label進行佈局,高度不準確的解決辦法!

使用MLeaksFinder檢測項目內存洩露總結

Operation搭建個人博客