3

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?

John Fowler
  • 3,173
  • 3
  • 18
  • 31

1 Answers1

2

The thumbnails appear for me when I use QLPreviewController using

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

Have you tried presenting the controller modally?

Victor Engel
  • 2,037
  • 2
  • 25
  • 46
  • I am using the QLPreviewController in a non-modal manner, and they are not displaying. I'm guessing they only display when presented modally. I'll go ahead and accept your answer as a result. – John Fowler Jul 26 '13 at 20:09
  • I recall reading somewhere that they display when presented modally. I'm not sure where I read it, but I think it was in Apple documentation somewhere. OK. I take that back. I think I just asked that because it's the way I presented it. – Victor Engel Jul 26 '13 at 21:22
  • It is working in iPad but thumbnails are not displaying in iPhone. – Kirti Nikam Sep 19 '16 at 10:21