标签:
//NSString 转为 NSURL NSString *webStr = @"www.baidu.com"; NSURL *webUrl = [NSURL URLWithString:webStr]; //NSURL 转为 NSString NSString *newWebStr = [webUrl absoluteString];
NSString NSUrl 相互转化
原文地址:http://www.cnblogs.com/shidaying/p/4203231.html