1

嘿,我正在使用 NSURLRequest 和 NSURLConnection 来下载 pdf。`

NSURLRequest *theRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:@"MyPDF.pdf"] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:10.0];
NSURLConnection *theConnection=[[NSURLConnection alloc] initWithRequest:theRequest delegate:self];

我怎样才能使我可以在 NSURLRequest 行中有多个指向 PDF 的 URL 链接?而不是只有一个 URL “MyPDF.pdf”。

提前致谢!


雅各布 L

4

1 回答 1

1

你不能。如果您想请求多个 PDF(或其他),则需要发出多个请求。

于 2011-03-01T22:48:30.470 回答