NSString 和 NSURL的互相转换NSString *str = @"";NSURL *URL = [NSURL URLWithString:str]; //string>urlNSString *str1 = [URL absoluteString]; //url>string