複数のPDFドキュメントを表示するためのiPhoneAPPに取り組んでいます。
.plistからのpdfファイルの名前を表示するUItableviewがあり、オープンソースのVFR pdfリーダー(https://github.com/vfr/Reader)があります。
UIボタンからvfrリーダーへのアクションを接続する方法を知っています:
- (IBAction)didClickOpenPDF1SEMCYTO {
NSString *file = [[NSBundle mainBundle] pathForResource:@"1SEMCYTO" ofType:@"pdf"];
ReaderDocument *document = [ReaderDocument withDocumentFilePath:file password:nil];
if (document != nil)
{
ReaderViewController *readerViewController = [[ReaderViewController alloc] initWithReaderDocument:document];
readerViewController.delegate = self;
readerViewController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
readerViewController.modalPresentationStyle = UIModalPresentationFullScreen;
[self presentModalViewController:readerViewController animated:YES];
と
- (void)dismissReaderViewController:(ReaderViewController *)viewController {
[self dismissModalViewControllerAnimated:YES];}
明らかに私はそれのようなものが必要です、しかし私はどのように/何を理解することができません、唯一の本当に類似したトピックはこれ、カスタムUITableViewCellとIBActionでし た、しかし私はその中でメソッドを利用できるかどうか理解できません、
何かアイデアがありますか?