[IOS / Object-C] - Object-c encodeurl, URL 인코딩
IOS ( Object-C ) 2016. 11. 29. 13:49- (NSString *) MRKN_encodeURL : (NSString *) string {
return CFBridgingRelease(CFURLCreateStringByAddingPercentEscapes
(kCFAllocatorDefault,
(__bridge CFStringRef)string,
NULL,
CFSTR("!*'();:@&=+$,/?%#[]"),
kCFStringEncodingUTF8)
);
}