Questions tagged [qlpreviewcontroller]

A QLPreviewController, or Quick Look preview controller, provides a specialized view for previewing a file on the iOS platform.

A QLPreviewController, or Quick Look preview controller, provides a specialized view for previewing a file on the (4.0+) platform. The Quick Look framework supports the following file types:

  • documents
  • Microsoft Office documents (Office ‘97 and newer)
  • Rich Text Format (RTF) documents
  • PDF files
  • Images
  • Text files whose uniform type identifier () conforms to the public.text type
  • Comma-separated value (CSV) files

You can refer to the Apple documentation for more information.

275 questions
1
vote
1 answer

Draw above UIWebView in Swift

I'm looking for a way to draw "Lines" above a UIWebView. I have a UIWebView that display a PDF file, the user should be able to add "Lines" and "Sketches" (simple one color lines etc) for sure this could be done with a UIView on top of the UIWebView…
Fabian Boulegue
  • 6,476
  • 14
  • 47
  • 72
1
vote
1 answer

Correct way to use QLPreviewController with Core Data

I have CoreData app that stores some BLOBs in external files ("allows external storage" flag). Files are images, PDFs, excel files etc. I wanna use QLPreviewController ti preview it. But it does not support CoreData from scratch. So, I should first…
user996142
  • 2,753
  • 3
  • 29
  • 48
1
vote
0 answers

QLPreviewController Fail To Load Large PDF File

I have tried for almost 2 days but unable to find any solution. I am doubtful whether it's a bug, but not sure. I have downloaded some pdf files in my documents directory. I can view most of these files with QLPreviewController; however, when I try…
Tushar J.
  • 556
  • 4
  • 16
1
vote
1 answer

QLPreviewController playback video

I've found strange behaviour on the QLPreviewController modal where Im trying to preview a video and QLPreviewController carries on playing a video after I've dismissed the modal via the "done" button which is provided by default. Any ideas on why…
1
vote
0 answers

Why are only some of these links clickable on this document?

TL;DR Why do my custom url scheme links only work if they are appended with Microsoft's hidden bookmark _GoBack_GoBack? Background Because links aren't clickable on PDFs displayed in a UIWebView or a QLPreviewController, I was experimenting with…
James Webster
  • 31,873
  • 11
  • 70
  • 114
1
vote
1 answer

iOS - get document's URL when QLPreviewController is closed

I have this code which previews the PDF file: QLPreviewController *previewController=[[QLPreviewController alloc]init]; previewController.delegate=self; previewController.dataSource=self; [self presentModalViewController:previewController…
1
vote
1 answer

ios - when presentViewController is closed not working

I'm using a presentViewController which is working fine, see below: I need to run a code(lets say an alert "I'm closed") when the when the presentViewController is completely closed or when the done/back button is pressed. I don't wan to use…
angular_learner
  • 671
  • 2
  • 14
  • 31
1
vote
0 answers

QLPreviewController issue in Xamarin iOS 8

I am having an issue with QLPreviewcontroller presentation in iOS 8. When it is pushed, the UINavigationBar gets transparent and the UI of the app gets disturbed (though it is working fine on iOS 7), I am developing in Xamarin. if…
Yasir Ali
  • 1,785
  • 1
  • 16
  • 21
1
vote
0 answers

quicklook QLPreviewController not working for pdfs

I have an app where the user can browse the files of his dropbox account. If he selects a file, the app first downloads it locally into the documents directory and then shows a preview of it using a QLPreviewController. It is working fine except for…
user3925803
  • 3,115
  • 2
  • 16
  • 25
1
vote
0 answers

How to manage memory within a QLPreviewController

We are currently using a QLPreviewController to load a collection of PDFs. The size of the collection can range from 16, 95, or even 1600+ PDFs. Due to the data source of the PreviewController containing multiple items we now have the ability to…
Shawn Roser
  • 467
  • 1
  • 5
  • 13
1
vote
0 answers

Can not email PDF from QLPreviewController

I'm successfully loading a PDF file downloaded from the web into QLPreviewController. When I tap the "Share" button and then tap the Mail icon to email the PDF, the mail composer window shows momentarily (without the PDF), then dismisses on it's…
hgwhittle
  • 9,316
  • 6
  • 48
  • 60
1
vote
1 answer

QLPreviewController is under the navbar and tabbar

How do I make it so that I can see everything, the contents of the QLPreviewController is under the navbar. The document looks like this in TextEdit. I'm loading things with this code: @implementation TextViewController -…
Justin808
  • 20,859
  • 46
  • 160
  • 265
1
vote
0 answers

RTF support of UIWebView/QLPreviewController or iOS in general

The Technical Q&A QA1630 says that an UIWebView supports RTF-docments. Also the QLPreviewController should support RTF. Now I tried that and found the following out: Footers/Headers are not supported at all Positioning is different than e.g. in…
testing
  • 19,681
  • 50
  • 236
  • 417
1
vote
1 answer

how to manage Image caches in ios when using 2 caching libraries

I am using SDWebImage image loaded as the default image loader, I also use AZAPreviewController to display images in the Fullscreen view. AZAPreviewController using its own cache folder to maintain caches for the same images but images are not…
Esha
  • 1,328
  • 13
  • 34
1
vote
0 answers

Html Images not displayed in QLPreviewController

I am using QLPreviewController to show an html page to print it. After QLPreviewController loads the html, images are not displayed however they are displaying normally when i open it via browser.Can anyone have an idea why the images wont display…