简体   繁体   中英

How do I get pdf page thumbnails to display in QLPreviewController

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM