Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// just add these few lines of code to your app delegate .m file right before the @implementation part
@implementation NSURLRequest (DSInvalidSSL)
+ (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host {
return YES;
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment