0
QLPreviewcontroller를 사용하는 iPad 앱에서 pdf 파일 판독기를 사용해 왔지만 어느 것이 든 도움이 될 수있는 popover에 pdf 하이퍼 링크 쇼의 내부를 표시해야합니다.iPad 응용 프로그램의 popover에 pdf 하이퍼 링크 데이터를 표시하려면 어떻게해야합니까?
documentPath = [[NSBundle mainBundle] pathForResource:@"my_file" ofType:@"pdf"];
fileURL = [NSURL fileURLWithPath:documentPath];
//fileURL = [NSURL URLWithString:kStringURLUIDocumentInteractionControllerPDF];
}
//creating the object of the QLPreviewController
QLPreviewController *previewController = [[QLPreviewController alloc] init];
//settnig the datasource property to self
previewController.dataSource = self;
//pusing the QLPreviewController to the navigation stack
[[self navigationController] pushViewController:previewController animated:YES];
//remove the right bar print button
[previewController.navigationItem setRightBarButtonItem:nil];
[previewController release];