标签:
if(requestDictionary != nil)
{
//添加参数,将参数拼接在url后面
NSMutableString *paramsString = [NSMutableString string];
NSArray *allkeys = [requestDictionary allKeys];
for (NSString *key in allkeys) {
NSString *value = [requestDictionary objectForKey:key];
[paramsString appendFormat:@"&%@=%@", key, value];
}
NSLog(@"完整URL=%@?%@",url,paramsString);
}
标签:
原文地址:http://www.cnblogs.com/KiVen2015/p/5687655.html