Questions tagged [qlpreviewcontroller]

A QLPreviewController, or Quick Look preview controller, provides a specialized view for previewing a file on the iOS platform.

A QLPreviewController, or Quick Look preview controller, provides a specialized view for previewing a file on the (4.0+) platform. The Quick Look framework supports the following file types:

  • documents
  • Microsoft Office documents (Office ‘97 and newer)
  • Rich Text Format (RTF) documents
  • PDF files
  • Images
  • Text files whose uniform type identifier () conforms to the public.text type
  • Comma-separated value (CSV) files

You can refer to the Apple documentation for more information.

275 questions
8
votes
4 answers

iOS 6.0 Quicklook QLPreviewController errors with: "Cannot find preview item for loaded proxy"

My application has been using the QLPreviewController to display files of all types and in iOS 5.x , it seemed to do so just fine. Now, in iOS 6.0, I get an error and it shows the controller but with a constant loading indicator and never actually…
valheru
  • 2,552
  • 3
  • 20
  • 40
8
votes
3 answers

iOS 6 UIGestures (Swipe) stops working with QLPreviewController

In iOS 6 beta 4 and iOS 5.1.1 I have had left/right swipes allowing users to swipe between different QLPreviewControllers, hosted in a UIViewController. In the released version of iOS 6 the swipes are now completely ignored. Attempted to put a…
Ben Whiting
  • 153
  • 1
  • 9
7
votes
4 answers

QLPreviewController NavigationBar setTranslucent property not working

i have set the custom color to navigation bar of QLPreviewController but the problem is that i want dark color of navigation bar in QLPreviewController even i have set the navigation bar translucent property to No But i Dont know Why it is not…
7
votes
3 answers

Configuring bottom bar in QLPreviewController

I have integrated QLPreviewController and UIDocumentInteractionController in my app, and it is working fine. The only problem is- I want to configure the bottom toolbar, I want to remove the default toolbar items, which appear as shown in image…
Devarshi
  • 16,440
  • 13
  • 72
  • 125
6
votes
0 answers

How to avoid Quick Look Simulator from launching on every run?

I am trying to debug my Quick Look Extension target (Preview) for macOS in Xcode and, although I have specified a different executable (qlmanage), it keeps launching the Quick Look Simulator every time I run it in Xcode which is annoying. How can I…
Anubis
  • 653
  • 1
  • 7
  • 16
6
votes
0 answers

Hide right thumbnail bar in QLPreviewController

I'm failed to hide the right thumbnail bar on tap when I add QLPreviewController as a childviewcontroller. I'm using the following code: #import -(void)viewDidLoad { if ([QLPreviewController canPreviewItem:[[NSBundle…
Poles
  • 3,585
  • 9
  • 43
  • 91
6
votes
1 answer

Hiding the markup bar in QLPreviewController on iOS 10

I need to use a QLPreviewController in order to open PDF and JPEG documents into my app. I implemented it in this way: -(void)openQuickLook{ QLPreviewController *preview = [[QLPreviewController alloc] init]; preview.currentPreviewItemIndex…
Nicola Giancecchi
  • 3,045
  • 2
  • 25
  • 41
6
votes
1 answer

Android media viewer SDK (equivalent of iOS QLPreviewController)

As far as I understand there is still no equivalent component to iOS's QLPreviewController in Android. I'm looking for an easy way to be able to integrate display of media files (images, movies, PDFs, audio) into my app without using Intents. Are…
user1195883
  • 654
  • 4
  • 19
6
votes
2 answers

Custom QLPreviewController or UIDocumentInteractionController that can intercept touch events

Ok, so what I am trying to do is create a Document Viewer that is similar this picture: Basically what should happen is, when the screen is tapped anywhere, the top and bottom bar will appear. Tap again and they disappear. I have subclassed…
5
votes
0 answers

Using QLPreviewController to display files from Documents folder

I very much appreciate the tutorial on using QLPreviewController here. I am trying to implement this code into my application, with modification to display files from the app's Documents folder instead of the Resources folder (so that the user can…
user183804
  • 531
  • 1
  • 8
  • 21
5
votes
1 answer

Loading Microsoft Office documents in WKWebView

I have been using UIWebView to display Microsoft Office documents (Word, PowerPoint, Excel) in my application for a while but Apple has recently deprecated the UIWebView class. I am trying to switch to WKWebView but Word, Excel, and Powerpoint…
Alec
  • 666
  • 8
  • 23
5
votes
1 answer

Is it possible to change the background color of QLPreviewController?

I'm attempting to view a PDF using QLPreviewController and I'm struggling to change some of the view attributes such as Navigation Bar header and the background of the view. I was able to change the translucency of the Navigation Bar after…
Kman77
  • 59
  • 4
5
votes
1 answer

iOS QLPreviewController load file from remote server URL

What is approach should be used while loading files from remote server on QLPreviewController? When should we download files using my server API to load them on QLPreviewController. I am adding QLPreviewController as subview to my current view. I…
5
votes
1 answer

iOS Document Reviewer like Image browser

I know you can use QLPreviewController to preview a document, but has anyone got a tidy solution to enable gestures (swipes right:left) and preserve the document zoom / navigation. It has been suggested that we could use a horizontal tableview but…
Ben Whiting
  • 153
  • 1
  • 9
4
votes
1 answer

UIDocumentInteractionController / QLPreview with UISplitViewController

Is there a way to use one of this preview controls with UISplitViewController's detail view.. I'm trying to preview Documents of the application, and made the file browser part.. But the other part still eludes me.. Whatever I did to show preview…
1
2
3
18 19