Questions tagged [quicklook]

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

324 questions
0
votes
1 answer

NSPredicate raises 'Unknown number type or nil passed to arithmetic function expression.' in QuickLook plugin

I have an NSArray of NSDictionary. All the dictionaries have a key image-path. I want to get a filtered array of only the dictionaries that match a given value (content of my path variable) for the key image-path. I validated the structure of the…
Guillaume
  • 21,685
  • 6
  • 63
  • 95
0
votes
1 answer

How to open file in QuickOffice from my app?

I need to open MS Office files from my application. I have implemented it with the help of QuickLook (QLPreviewController). But I want to open files within QuickOffice application. In Safari (it uses QuickLook to view MS Office files) I see a…
shuvalov
  • 4,713
  • 2
  • 20
  • 17
0
votes
1 answer

QuickLook Preview Panel

I'm looking for some examples on how to use the QuickLook preview feature. I have an URL for a file on the hard drive and want to achieve the same functionality as pressing the 'Space' key in finder on a file or folder and get a preview windows on…
Vlad
  • 3,346
  • 2
  • 27
  • 39
0
votes
0 answers

Support for Refraction/Thickness in Apple Quick Look?

I have been testing out models in Apple Quick Look AR on iOS through the USD format, I am finding that Apple Quick Look doesn't appear to support materials that use Refraction/Thickness. You can see a good example of this issue here with the…
ROBYER1
  • 117
  • 8
0
votes
0 answers

How can I calculate the documents size "while selecting"?

I'm working on a feature that shows a preview of the files before sending them. Basically, The user selects the iPhone's Files application from within the application and sees the preview after selecting the file he wants to send. Then it sends. So…
0
votes
0 answers

Why isn't my Quick Look generator being used by Finder?

I've created a QuickLookMsgPack.qlgenerator, which is placed in ~/Library/QuickLook/QuickLookMsgPack.qlgenerator. qlmanage find it: $ qlmanage -m plugins | grep QuickLookMsgPack se.xyz.msgpack -> ~/Library/QuickLook/QuickLookMsgPack.qlgenerator…
netdigger
  • 3,659
  • 3
  • 26
  • 49
0
votes
0 answers

"Object not found" ERROR Message on Android AR Quicklook preview

I'm trying to put together an AR Demo and the file should be previewed using an Android phone that supports AR. The thing is that the object cannot load although I tried GLB and gItf with different mesh resolution. The object also loads fine using…
0
votes
3 answers

How to use NSOpenPanel to select a file for QLPreviewView?

Thanks to this answer i can see QuickLook preview of a pdf embedded in my swiftui view. But it's only to preview the pdf that's stored in the app bundle resource. How do i use NSOpenPanel to choose a file and display it in the QLPreviewView? import…
swiftnoob
  • 303
  • 1
  • 5
  • 21
0
votes
0 answers

Property 'dataSource' not found on object of type 'QLPreviewController *' error in Objective-C

I got this problem from this patch of code: - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; /* * get the path to the pdf resource. */ NSString *path = [[NSBundle mainBundle]…
0
votes
0 answers

QLThumbnailGenerator is not loading in SwiftUI

When I run my code with breakpoint, I see the thumbnail image, but I cannot see the image in the application. Why ? Using: generateThumbnailRepresentations(url: currentFile.localPath) .resizable() …
Ufuk Köşker
  • 1,288
  • 8
  • 29
0
votes
1 answer

Why does the Xcode Symbols tool fail when submitting an application to the Mac App Store?

When I submit my application for the Mac App Store I get the following error: The symbols tool failed, could not determine the executable path for the item path:…
headbanger
  • 1,038
  • 1
  • 11
  • 32
0
votes
1 answer

Quick Look View - Reload View after changing Tab

I´m trying to display a Quick Look View directly - without a sheet Presenting the Reality File. If I start the App at the first time it works fine: when I'm switching between a TabView back to the first ModelView I don't the the reality Model…
Andx
  • 51
  • 4
0
votes
0 answers

Does QLThumbnailImageCreate still support webarchive

In the past QLThumbnailImageCreate would return an NSImage from a url pointing to a webarchive. It's not doing so now. Is this a bug, or do I not understand something?
Carl Carlson
  • 500
  • 4
  • 17
0
votes
1 answer

Quick look preview only shows a blurred 1st page of documents in MacOS

I have a SwiftUI iOS app that I have made available for mac catalyst. I am using QuickLook Preview to dispaly pdf, docx, images and pptx in the app. The rendering works fine on iOS but on MacOS, only 1 page of the document is displayed with a blurry…
Heyman
  • 449
  • 4
  • 13
0
votes
1 answer

Straight go to "Object" view mode in AR Quicklook

I am working on an iOS shopping app and users can see the products in AR (Quicklook - QLPreviewController). When the user opens the AR screen, the app goes to AR mode(camera) of Quicklook. Just wondering if I can update the app to straight go to…
gstream
  • 525
  • 6
  • 18