가츠의 블로그
2011년 4월 14일 목요일
[Iphone]https로 접근 시 SSL 무시하기
@interface NSURLRequest (IgnoreSSL)
+ (BOOL)allowsAnyHTTPSCertificateForHost:(NSString*)host;
@end
@implementation NSURLRequest (IgnoreSSL)
+ (BOOL)allowsAnyHTTPSCertificateForHost:(NSString*)host
{
return YES;
}
#end
최근 게시물
이전 게시물
홈
피드 구독하기:
글 (Atom)