I want to allow invalid SSL certificates. My main code is below:
myClient = [[MyClient alloc] init]; [myClient getHtml:@\"/path/to/the/distination.html\"]; <
You can now use the allowsInvalidSSLCertificate property of the AFHTTPClient. No need to use defines in the latest versions of AFNetworking.
AFHTTPClient* client = [AFHTTPClient clientWithBaseURL:@"url"]; client.allowsInvalidSSLCertificate = YES; //this defaults to no