John Fowler John Fowler - 1 year ago 177
iOS Question

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?

Answer Source

The thumbnails appear for me when I use QLPreviewController using

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

Have you tried presenting the controller modally?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download