【发布时间】:2013-01-11 06:09:56
【问题描述】:
如何从下面的代码将图像发送到远程服务器最后一个字符串与图像一起放置
NSString *reqString=[NSString stringWithFormat:@"http://projeceads.info/spir/productinfo/productadd/%@/%@/%@/%@/%@/%@/%@/%@ ",ownerId,productNameTxt.text,QuantityTxt.text,sizeTxt.text,ageTxt.text,priceTxt.text,descriptionView.text,imgstr]; NSURL *reqUrl=[NSURL URLWithString:reqString]; NSURLConnection *connection=[[NSURLConnection alloc]initWithRequest:[NSURLRequest requestWithURL:reqUrl] delegate:self];
[连接开始]; }
【问题讨论】:
-
请在问题中添加更多上下文。
标签: objective-c