Created
May 13, 2018 08:08
-
-
Save fcaldarelli/15cccb3f2566ea33b422769016d3c91a to your computer and use it in GitHub Desktop.
AFNetworking image downloader self-signed ssl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AFHTTPSessionManager *sessionManager = [AFImageDownloader defaultInstance].sessionManager; | |
sessionManager.securityPolicy.allowInvalidCertificates = YES; | |
sessionManager.securityPolicy.validatesDomainName = NO; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment