Skip to content

Instantly share code, notes, and snippets.

@Qiki
Created March 29, 2016 15:14
Show Gist options
  • Save Qiki/a4a892f8431cade9e39f to your computer and use it in GitHub Desktop.
Save Qiki/a4a892f8431cade9e39f to your computer and use it in GitHub Desktop.
#ifdef DEBUG
@interface AFHTTPClient (Cheating)
@property (nonatomic, assign) BOOL allowsInvalidSSLCertificate;
@end
@implementation AFHTTPClient (Cheating)
- (BOOL)allowsInvalidSSLCertificate {
return YES;
}
@end
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment