NSString *urlStr =[NSString stringWithFormat:@"http://qzone.qq.com/login?username=%@&pwd=%@",username,password];
urlStr = [urlStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSString *urlStr =[NSString stringWithFormat:@"http://qzone.qq.com/login?username=%@&pwd=%@",username,password];
urlStr = [urlStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
转载于:https://www.cnblogs.com/appshan/p/4568372.html