Questions tagged [quicklook]

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

324 questions
6
votes
2 answers

Linking Frameworks into QuickLook plugins

I am trying to write a QuickLook generator. For this, I need to link against a framework I created. However, as soon as I link against said framework, qlmanage refuses to load my plugin by telling me: [ERROR] Can't load plug-in at…
Raphael Schweikert
  • 18,244
  • 6
  • 55
  • 75
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
2 answers

QLPreviewView can not show the quicklook preview in sandbox

I use QLPreviewView to show the quicklook preview in the app. Without sandbox, this works well, but once change the app to sandbox, the preview can not show up. I found the error in Console: QuickLookUIHelpe(20786) deny file-read-data XXX. I have…
GoKu
  • 460
  • 3
  • 16
6
votes
1 answer

QuickLook PlugIn is "damaged/missing resources". Why?

SETUP: OS X 10.8.2 Xcode4.5.2 (4G2008a) Document-based Cocoa Application with a QuickLook PlugIn PROBLEM: I'm trying to add a QuickLook plugin to my Document-based OS X application, but the QL PlugIn will not launch. My QuickLook PlugIn needs to…
Todd Ditchendorf
  • 11,217
  • 14
  • 69
  • 123
6
votes
1 answer

Quick Look and UIWebView supported file types

Is there an updated list of file types that can be displayed using UIWebView that ships with iOS 6.0? I am aware of the Apple doc and an earlier question on here about this topic. However, both are outdated and don't list all supported types. For…
Mirza Dobric
  • 1,467
  • 1
  • 14
  • 36
5
votes
2 answers

Mime Type (or something) So iOS Mail Does Not Open in Quicklook?

I've been following the brilliant instructions in this answer, which work perfectly. However, my file type is mime "application/notforquicklook" and quicklook still tries to open it. This causes general gear spinning and nothing happening. How can…
Dan Rosenstark
  • 68,471
  • 58
  • 283
  • 421
5
votes
1 answer

How to use .quickLookPreview modifier in swiftui

I am trying to use the view modifier .quickLookPreview introduced in iOS 14, macOS 11 macCatalyst 14 but I get this error Value of type 'some View' has no member 'quickLookPreview' every time I try to use the modifier on a macOS or mac catalyst…
Heyman
  • 449
  • 4
  • 13
5
votes
1 answer

RealityKit – Load ModelEntity from web URL resource

I was wondering if someone know is it possible to load an AR object (.usdz for example from web url and place it in the AR view). I tried with this: let fileUrl = NSURL(string:…
Martin Kostadinov
  • 179
  • 1
  • 1
  • 8
5
votes
4 answers

iOS - QLPreviewController - How to stop QuickLook from Rotating?

I have QuickLook (QLPreviewController) almost working how I want it, but because of the images characteristics I don't want it to rotate into portrait orientation.I have it configured in the "shouldAutoRotateToInterfaceOrientation" method to only…
Mytheral
  • 3,929
  • 7
  • 34
  • 57
5
votes
1 answer

Force QLPreviewController into Edit mode on iOS13

Just presenting a QLPreviewController to view an image (on iOS13.) Ideally I'd like it to switch into edit mode automatically (and so present the PencilKit stuff.) Anyone know how to do this? The setEditing: approach (used on UITableViewControllers)…
Scotty
  • 2,019
  • 1
  • 20
  • 31
5
votes
2 answers

iOS 13 thumbnail extension (QLThumbnailProvider) not being called

My document browser-based test app is working fine. It shows the browser. It has a special exported document type. I can create files of that type, I can open files of that type. There's just one problem. My app also includes a Thumbnail Extension.…
matt
  • 515,959
  • 87
  • 875
  • 1,141
5
votes
2 answers

Is there a way to trigger Finder's "quick look" window with Applescript?

I am using Applescript to automate some tasks in the OSX Finder. The script opens up a folder and selects the first image in that folder. I would like it to also bring up the "quick look" window (exactly as if the user had pressed the space bar). I…
e.James
  • 116,942
  • 41
  • 177
  • 214
5
votes
2 answers

How to access QuickLook plugin resources?

My QuickLook plugin generates HMTL preview for the document. I need to display images saved in the plugin bundle. Simply using imageNamed: method to get an instance of the NSImage class doesn't work. How can achieve that? Is that a consequence of…
dzolanta
  • 641
  • 7
  • 10
5
votes
2 answers

QuickLook Plugin: how does it work when 2 plugins handle the same file type?

If a user has 2 or more quicklook plugins that handle the same kMDItemContentType what happens? Which plugin gets priority to do that actual work? Can that be set programmatically?
regulus6633
  • 18,848
  • 5
  • 41
  • 49
5
votes
1 answer

Cannot debug my quicklook plugin under Xcode

I'm writing a Quicklook plugin to preview App bundles. When I try to debug it under Xcode 6.1 (on Yosemite), I cannot get it to work. 'Quicklookd' launches and stays open in the dock but it doesn't render any preview and I get this output in the…
Anubis
  • 653
  • 1
  • 7
  • 16
1 2
3
21 22