QuickLook Monotouch API を使用した必要最小限の pdf ビューアーの例を探しています。私は検索して断片を見つけましたが、すべてを統合することはできません。
iPadの個人用フォルダーに事前に保存されたファイルからpdfを読み取り、pdfをモーダルビューとして表示したいと思います。
誰かが最低限の例を投稿できれば、それは大歓迎です。
私がこれまでに持っているものは以下です。
ありがとう!
path = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
pdfPath = System.IO.Path.Combine(path, "pdfReport.pdf");
QLPreviewController myPdfController = new QLPreviewController();
MyPdf pdfToShow = new MyPdf("", new Uri("")); // Not sure about this line
myPdfController.DataSource = pdfPath; // Not sure what this line should be
PresentModalViewController(myPdfController, true);