开发者

NSURLRequest with more than one url!

Hey, I'm using NSURLRequest and the NSURLConnection to download pdf.`

NSURLRequest *theRequest = [NSURLRequest requestWithURL:[NSURL URLWithStri开发者_如何学运维ng:@"MyPDF.pdf"] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:10.0];

NSURLConnection *theConnection=[[NSURLConnection alloc] initWithRequest:theRequest delegate:self];

How could I make so I can have more than one URL Link to PDFs in the NSURLRequest line? Instead of just having one URL "MyPDF.pdf".

Thanks in advance!


Jacob L


You can't. If you want to request multiple PDFs (or whatever), you need to make multiple requests.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜