I want to allow invalid SSL certificates. My main code is below:
myClient = [[MyClient alloc] init]; [myClient getHtml:@\"/path/to/the/distination.html\"]; <
if you are using RestKit using
client.allowsInvalidSSLCertificate = YES;
won't work, instead do this:
in your project, click on RestKit.xcodeproj go to project > Build Settings > Preprocessor Macros
and add _AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_=1
_AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_=1
thats finished.