从网上获得的网址有时后面有若开空格,此时 NSString *newString = [ _urlStr stringByTrimmingCharactersInSet :[ NSCharacterSet whitespaceAndNewlineCharacterSet ]];