NSString *str = @"www.baidu.com";
NSURL *URL = [NSURL URLWithString:str]; //string>url
NSString *str1 = [URL absoluteString]; //url>string
NSURL *URL = [NSURL URLWithString:str]; //string>url
NSString *str1 = [URL absoluteString]; //url>string