Created
June 9, 2017 04:19
-
-
Save amejiasp/62d981da0a99bbc305993cb10e7c0329 to your computer and use it in GitHub Desktop.
Cómo aceptar cualquier certificado en IOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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