このコードを使用してサーバーからpdfファイルをダウンロードしています。
NSString *urlString = @"https://developer.apple.com/library/ios/documentation/uikit/reference/UILabel_Class/UILabel_Class.pdf";
NSURL *url = [NSURL URLWithString:urlString];
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
[request setDownloadDestinationPath:[[NSHomeDirectory() stringByAppendingPathComponent:@"Documents"] stringByAppendingPathComponent:@"UILabel.pdf"]];
[request setDelegate:self];
[request startAsynchronous];
ダウンロード機能は正常に動作しています。しかし、ダウンロードしたPDFをCGPDFDocumentRefで表示する必要があります。
前もって感謝します。