質問編集履歴
1
表示部分のサンプルロジック追加。
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,4 +6,19 @@
|
|
6
6
|
画像自体は青く(一瞬、選択した状態)なるのですが、埋め込まれたリンクへジャンプが行われません。
|
7
7
|
どのようにすれば埋め込みリンクが有効になるのでしょうか?
|
8
8
|
お分かりになられる方がいらっしゃいましたら、どうかお教えください!
|
9
|
-
よろしくお願いいたします。
|
9
|
+
よろしくお願いいたします。
|
10
|
+
|
11
|
+
|
12
|
+
```objective-c
|
13
|
+
// PDFViewに対しての設定
|
14
|
+
_pdfView.autoScales = true;
|
15
|
+
_pdfView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
16
|
+
_pdfView.displayDirection = kPDFDisplayDirectionVertical;
|
17
|
+
_pdfView.displayMode = kPDFDisplaySinglePageContinuous;
|
18
|
+
_pdfView.displaysRTL = NO;
|
19
|
+
_pdfView.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
|
20
|
+
|
21
|
+
PDFDocument *document = [[PDFDocument alloc] initWithURL:URL];
|
22
|
+
// ここまでで、表示はできております。
|
23
|
+
|
24
|
+
```
|