Questions tagged [quicklook]

QuickLook an objective-c framework used in iOS and MacOS application development typically for previews.

324 questions
0
votes
1 answer

Add UTM and Referral Links to AR Quick Look

Attempted to track usage of AR content in S3 (without S3). Am trying to create referral campaign links in PixelMe . When opening the content it opens an image of the item and and not the content itself. Here's an example of a pixelme to USDZ link:…
Allen Wixted
  • 179
  • 2
  • 12
0
votes
2 answers

iOS - Opening a PDF via Quicklook without using UIScrollView

I am trying to open a PDF via the QuickLook framework without using UIScrollView... I believe I'm missing something... Where I believe I'm going wrong is that I need to use a QLPreviewController and on the QLPreviewController is a dataSource that…
Mytheral
  • 3,929
  • 7
  • 34
  • 57
0
votes
1 answer

How to hide top bar on QLPreviewController by default

I am presenting a QuickLook preview controller like so: QLPreviewController *qlController = [[QLPreviewController alloc] init]; qlController.dataSource = self; qlController.delegate = self; dispatch_async(dispatch_get_main_queue(), ^{ …
nwales
  • 3,521
  • 2
  • 25
  • 47
0
votes
1 answer

Quicklook always displays "no file to preview" error (url is valid)

I'm trying to use QuickLookController subclass as a child controller, setting its view as a subview in the parent. However, it always displays "no file to preview" message in the opening window. URL in the data source is valid, but the controller is…
Mari
  • 109
  • 1
  • 3
0
votes
1 answer

How to use QLPreviewPanel?

I have an app which can download images and text, I want to use the QLPreviewPanel to give a preview of this. However the delegate and datasource implementation has me confused. I just want to pass an image or string and have it displayed? (is…
Jonathan.
  • 53,997
  • 54
  • 186
  • 290
0
votes
1 answer

Open USDZ File into QuickLook

I am interested in opening a USDZ file in a Safari browser and making sure that it ends up in the QLPreviewer and I was wondering if there is a browser API for safari that can do this. I want to make sure that the link doesn't just open in a new…
Josh Bowden
  • 892
  • 3
  • 12
  • 28
0
votes
0 answers

Is there any way to progamatically block quicklook from accessing files to generate thumbnails?

I have a FUSE file system that accesses remote data. I would like to prevent Quicklook from trying to read the files in order to generate thumbnails because this forces the download off all the files. (The nature of the file system doesn't allow you…
B. Leslie
  • 165
  • 10
0
votes
1 answer

Delegate QuickLook preview generation to other QLPlugin

I'm developing a QuickLook Preview Plugin for macOS. I'm trying to generate a preview for remote files (osxfuse Virtual File System) and thus I have registered my QLPreview plugin as public.jpeg extension. Now, macOS asks my QLPreview Plugin for…
mixtly87
  • 1,675
  • 15
  • 32
0
votes
0 answers

QLPreviewPanel not displaying image Swift OSX

I'm trying to use QuickLook in OSX. There are several problems with my sample code: 1) It does not preview the image. 2) I get these errors: 2019-05-05 08:35:17.898276+0100 QuickLook[13561:1658693] [default] Unable to load Info.plist exceptions…
iphaaw
  • 6,764
  • 11
  • 58
  • 83
0
votes
1 answer

Reaching iCloud thumbnail dictionary

I am trying to update thumbnail image for file in iCloud drive. I have already read old answers about this, people are suggesting to use NSFileCoordinator and etc. but essentially you have to access thumbnail dictionary with…
Vidux
  • 183
  • 1
  • 11
0
votes
0 answers

How to get subviews of UIButtonBarStackView?

I am trying to get the subviews of UIButtonBarStackView, so that I can find the right bar button and disable it. I am trying to hide share button in QLPreviewController with usdz files. I have subclassed QLPreviewController and I have this code in…
nOOb iOS
  • 1,384
  • 2
  • 19
  • 37
0
votes
0 answers

Use CSSearchQuery in QLPreviewingController?

When implementing a QLPreviewingController, we only get the Spotlight uniqueIdentifier but not the actual CSSearchableItem. I thought I could use CSSearchQuery with a query like this uniqueIdentifier == "\(identifier)" to fetch the…
Ortwin Gentz
  • 52,648
  • 24
  • 135
  • 213
0
votes
1 answer

QuickLook ShouldOpenUrl delegate method not firing

I am using QuickLook to preview Images, Pdf and Microsoft office documents. It is working fine to preview documents but its ShouldOpenUrl delegate method not firing whenever i try to open link from documents. Following is the code that i tried. I…
Aamir Anwar
  • 93
  • 1
  • 10
0
votes
2 answers

QLPreviewController works with URLs provided by UIDocumentBrowserViewController, but not with URLs generated manually

I'm using UIDocumentBrowserViewController combined with QLPreviewController to preview documents selected by users in UIDocumentBrowserViewController, which works perfectly fine. The pickedDocumentURL variable used by QLPreviewController is…
0
votes
1 answer

How do I detect when a Quick Look panel is dismissed?

I've written a Quick Look plugin that attempts to play music like this: OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options) { NSURL *fileURL =…
Peter W.
  • 2,323
  • 4
  • 22
  • 42