摘要:
源码:http://files.cnblogs.com/ios8/ASIHttpRequestDemo2.zip
NSURL *url = [NSURLURLWithString:@"http://pica.nipic.com/2007-12-12/20071212235955316_2.jpg"];
ASIFormDataRequest *request = [ASIFormDataRequestrequestWithURL:url];//创建数据请求对象
[request setRequestMethod:@"GET"];
[request setTimeOutSeconds:60];
// [request setDelegate:self];//设置代理 阅读全文