Skip to content

Instantly share code, notes, and snippets.

@amejiasp
Created June 9, 2017 04:19
Show Gist options
  • Save amejiasp/62d981da0a99bbc305993cb10e7c0329 to your computer and use it in GitHub Desktop.
Save amejiasp/62d981da0a99bbc305993cb10e7c0329 to your computer and use it in GitHub Desktop.
Cómo aceptar cualquier certificado en IOS
añadir a AppDelegate, al final, esto
@implementation NSURLRequest(DataController)
+ (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