view raw
John Fowler John Fowler - 6 months ago 79
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?


The thumbnails appear for me when I use QLPreviewController using

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

Have you tried presenting the controller modally?