QuickLook an objective-c framework used in iOS and MacOS application development typically for previews.
Questions tagged [quicklook]
324 questions
0
votes
1 answer
After tapping on the Quick Look icon the document is not opened
My task is to implement the Quick Look functionality in a way to present options for opening the chosen document. I'm using the UIDocumentInteractionController's PresentOptionsMenu method to display the options. The Quick Look icon is displayed but…

szviktor94
- 3
- 2
0
votes
0 answers
Unable to show total file(showing only filename) in QLPreviewController in Swift
I am using QuickLook to show remote files(server side files). but with this i am not getting total image or file its just showing extension in QLPreviewController why?
i have tried using this [enter link description here][1]
code: here urlAttach…

Swift
- 1,074
- 12
- 46
0
votes
0 answers
Swift IOS Display AR QuickLook preview of downloaded usdz model
this is my first time trying to add an AR preview into an app (also my first time using the file system). I have been trying to implement a solution similar to that explained here https://developer.apple.com/forums/thread/126377 however one key…

Louis Davies
- 23
- 4
0
votes
1 answer
Unable to preview files with QuickLook
I am using this simple tool for previewing different files in my app, but none of them is being successfully previewed.
First time I try to preview any file it opens preview controller with message Unsupported file format, and any other time it…

stackich
- 3,607
- 3
- 17
- 41
0
votes
1 answer
QLThumbnailGenerator loading wrong images
I have an NSCollectionView which is showing thumbnails of images and I have just switched to using QLThumbnailGenerator to fetch them.
There are over 6,000 possible images that can be viewed and, if I scroll too fast, I start to get the wrong…

Joanna Carter
- 179
- 2
- 7
0
votes
2 answers
Show actual file icon in macOS Quicklook Preview
I'm writing a QuickLook extension for my app, and I want to be able to display the actual icon image for a particular file, as shown in Finder. I've tried using QLThumbnailGenerator for this, but it will always return a plain white document…

Petter Sjölund
- 107
- 10
0
votes
1 answer
Access Core Data from extension without provisioning profile on macOS?
I'd like to add a Quick Look extension to my program, but in order to be useful, it would have to access the Core Data stack, which seems to require me to add an App Group and a provisioning profile to the project.
Until now, it has been possible…

Petter Sjölund
- 107
- 10
0
votes
1 answer
Subclassing QLPreviewController inside a UITabBarController does not show edit option of PDF
I am trying to present QLPreviewController as one of the Tab in a Tabview contorller. It able to show PDF properly but pencilkit/Markup not shown
Reason: i want to show PencilKit to draw on the PDF and save it (other type of files from local or…

Ganesh K
- 1
0
votes
1 answer
"com.apple" UTI in custom file format
I have a document-based app with a custom file format, the UTIs and such set up as so:
CFBundleDocumentTypes
CFBundleTypeExtensions
extension
…

spudwaffle
- 2,905
- 1
- 22
- 29
0
votes
1 answer
How to get an icon on macOS for a document?I
I am looking for a command-line tool on macOS that can write an icon file for a specified document or file to disk. qlmanage can either create a thumbnail, or a preview, but in my case I would like to get the icon file.
The man page mentions the…

Daniel Stephens
- 2,371
- 8
- 34
- 86
0
votes
3 answers
QLThumbnailGenerator saveBestRepresentation wrong content type Swift iOS 13+
When completing a task I have stumbled upon an iOS 13+ API that can solve my problem - https://developer.apple.com/documentation/quicklookthumbnailing/creating_quick_look_thumbnails_to_preview_files_in_your_app
It works as intended, but to complete…

T. Pasichnyk
- 702
- 3
- 16
0
votes
1 answer
How to add image to QuickLook that is stored in variable
I would like to add a couple of images that are stored in variables to a QLPreviewController. The QuickLook datasource requires a fileURL which I'm not sure how to get for an image that is stored in a variable and not in disk or in the project.
Any…

krishna ravichander
- 39
- 3
- 7
0
votes
0 answers
Swift: How to open just one page of a PDF with QLPreviewController?
I have a reference to my current link with
self.pdfDocument?.documentURL?.path
or
self.pdfDocument?.documentURL
and I have a button already that, when clicked, shows the QuickLook of the entire PDF. Here is my code to open the PDF, with some…

Galen BlueTalon
- 173
- 4
- 20
0
votes
2 answers
Google Model Viewer AR- How to have "View in AR" button with out having poster or object preview
Is it possible to view my GLTF and USDZ file in AR from clicking a button. I do not want to have a background poster or object preview just a button.

michaelm682
- 11
- 1
- 3
0
votes
1 answer
How to change the list of characters that MacOS QuickLook displays when previewing font files (ttf, otf etc)
By default MacOS's built in QuickLook feature displays only latin characters + figures when previewing font files. This is what it looks like:
typical QuickLook preview window for a font file
I need to be able to quickly see if the font contains…