Questions tagged [quicklook]

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

324 questions
0
votes
1 answer

Xamarin QLPreviewController + NavigationPage broken on iOS 10

After updating the device to iOS 10, QLPreviewController stopped to display correctly the documents. It shows the white screen. I have extracted the sample scenario from the app. It contains single page with two buttons that should load two…
aguyngueran
  • 1,301
  • 10
  • 23
0
votes
0 answers

Move thumbnail bar in QLPreviewController

I'm using QLPreviewController in my Xamarin application to display PDF files: _qlPreviewController = new QLPreviewController(); _qlPreviewController.DataSource = _dataSource; _qlPreviewController.View.Frame =…
Mikalai Daronin
  • 8,590
  • 2
  • 35
  • 47
0
votes
2 answers

QLPreviewController not displays saved file

I'm getting this behaviour using Xcode 8.0. The problem is, after downloading a file and storing it on documents directory (code provided below), QLPreviewController only displays document's name and size. The property currentPreviewItem returns the…
0
votes
1 answer

NSURL subclass, with file URL, doesn't work in QuickLook, for non-ASCII filenames?

There's a lot of pieces to this, but from what I can tell, they're all necessary to reproduce the problem. I made a trivial NSURL subclass, like so: class URL2: NSURL { } I made a file URL with it: let f = URL2(fileURLWithPath:…
J. Cocoe
  • 881
  • 1
  • 10
  • 22
0
votes
0 answers

previewController:shouldOpenURL does not call in iOS 10 (Objective c)

iOS 10 below delegate method does not fire. - (BOOL)previewController:(QLPreviewController *)controller shouldOpenURL:(NSURL *)url forPreviewItem:(id )item{ return true; } Actually when I open pdf file from QLPreviewController,…
Wanker Silva
  • 413
  • 4
  • 18
0
votes
2 answers

Show "Open in" for MS Word, Excel, PPT in ios objective c

Is there any way I can show Open With or Open In window for ms office files I have seen UIDocumentInteractionController and QuickLook Framework but didn't work me. Does these two really support office files?
Arun
  • 31
  • 1
  • 3
0
votes
1 answer

Make a Quick Look NSView in Swift

I'm trying to add this feature to my app: when pushing a certain button, open a quick look view of a certain file. I saw this: Use Quick Look inside a Swift cocoa application to preview audio files, but the error written in the comments shows up…
Gorbinsk
  • 1
  • 1
0
votes
1 answer

Quicklook plugin doesn't work when in app bundle

I've written a quick look plugin to preview my custom file type, but it doesn't work when embedded in my OS X app bundle. Running "qlmanage -m plugins" doesn't show my UTI Manually copying the qlgenerator file from …
Hooper
  • 195
  • 13
0
votes
1 answer

QuickLook class not working

I have this class which works fine import UIKit import QuickLook class ViewController: UITableViewController, QLPreviewControllerDataSource { var urlList : [NSURL]? = { if let fileURL1 = NSBundle.mainBundle().URLForResource("Essay",…
zackhalil
  • 455
  • 3
  • 14
0
votes
2 answers

Is it possible to view a PDF file from an URL link using Quick Look Framework

As the title says, I need to display a PDF file stored in a remote server without downloading it on the device just by using an URL link. Is it possible to do it by using the Quick Look framework? I am using this code below: - (void)openDocument { …
Aluminum
  • 2,932
  • 5
  • 35
  • 63
0
votes
1 answer

Quicklook plugin not recognizing its file type

Wrote a simple Quicklook plugin for Mac OS X for viewing custom image format. Worked fine on one machine, doesn't work on another. Both running El Capitan beta. This works and displays the image even on the affected machine: qlmanage -c…
Tomas Andrle
  • 13,132
  • 15
  • 75
  • 92
0
votes
1 answer

How do you use QLPreviewController?

This looks like the best way to so a preview of documents but I can't find any information on how to use it. Am I missing something or is there a better way to do…
respectTheCode
  • 42,348
  • 18
  • 73
  • 86
0
votes
1 answer

Applescript quicklook: arrow key down 1000 times

I'm a total beginner in apple script. I would like to open a folder directory that contains hundreds of photos and to view each photo 1 second with quick look and then go to the next (suppose to use down arrow / key code '124'). I don't have any…
0
votes
0 answers

Mac: "Application is not running" error when using NSAppleScript

I am developing a Quick Look plugin on Mac OSX 10.10. To provide previews for our custom file formats, I need to call our mac application from the Quick Look plugin for which I have used the NSAppleScript class: NSAppleScript *script =…
A9S6
  • 6,575
  • 10
  • 50
  • 82
0
votes
1 answer

How to store preferences for a HTML-based QuickLook generator on OSX?

I used to do it with a custom PrefPane that has to be installed separately, but that's not satisfactory. I have a HTML-based QuickLook generator, that create thumbnails and previews of some inhomogeneous content (files that have a long ASCII header,…
onekiloparsec
  • 2,013
  • 21
  • 32