سؤال

In iOS 6, I noticed that when I preview a PDF document using the UIDocumentInteractionController, it displays nice looking page thumbnails down the right side of the screen. However, if I display the same PDF using the QLPreviewController, those thumbnails do not appear.

How can I get the QLPreviewController to display thumbnails of PDF pages in the same way that the UIDocumentInteractionController does?

هل كانت مفيدة؟

المحلول

The thumbnails appear for me when I use QLPreviewController using

[self presentViewController:previewController animated:YES completion:nil];

Have you tried presenting the controller modally?

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top