Skip to content

Instantly share code, notes, and snippets.

@Antarix
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Antarix/0a32a0132eae19cf9470 to your computer and use it in GitHub Desktop.
Save Antarix/0a32a0132eae19cf9470 to your computer and use it in GitHub Desktop.
// 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