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
4 answers

Status bar Hidden Issue, when present QLPreview controller

Following is my code: QLPreviewController *previewController=[[QLPreviewController alloc]init]; previewController.delegate = self; previewController.dataSource = self; [self presentViewController:previewController animated:YES completion:NULL]; I…
Sarthak Patel
  • 129
  • 2
  • 8
1
vote
0 answers

iOS QuickLook QLPreviewController can it display slide number of Microsoft Powerpoint Presentation

I am trying to view Microsoft Powerpoint Presentation using QLPreviewController. I would like to know the Total number of slides and the current slide number which I am viewing from the ppt. As well as is it possible to navigate to particular slide…
1
vote
1 answer

UIActionSheet button mask messed up after showing QLPreviewController

I am working on a photo-sharing app. The users can take and upload photos, and I use an UIActionSheet to provide selection whether to take a new photo with the camera or choose an existing photo from the library. In an other view I have a list of…
MrTJ
  • 13,064
  • 4
  • 41
  • 63
1
vote
0 answers

Objective C- PDF viewer not showing chinese characters

I am working on the project on which I have to show the report coming from service. I get bytes array of PDF file from server end. It contains some english and some chinese language in Arial Unicode MS font. When I get the byte array, I pass it to…
1
vote
0 answers

QLPreviewController - Play video iOS 6

I'm using QLPreviewController to preview all kind of documents as well as video files. While trying to open a video file using that, it works fine with iOS 7 whereas with iOS 6, video playback controls are not showing up, only empty toolbar getting…
Mani Kandan
  • 629
  • 4
  • 12
1
vote
1 answer

Show QLPreviewController toolbar by default

I am presenting a QLPreviewController modally So after presenting it , it occupies the entire screen Also the QLPreviewController get overlapped by the status bar The top bar is displayed when we tap on it once but can we show the top bar by…
Nitesh
  • 1,389
  • 1
  • 15
  • 24
1
vote
0 answers

QLPreviewController and iOS7: black screen

I noticed that in iOS7, in a my app showing the preview of a document with the QLPreviewController, when I tap outside the page bounds (you note that better with a landscape pages document) the screen around the page become black (you can try it…
Giorgio
  • 1,973
  • 4
  • 36
  • 51
1
vote
0 answers

QLPreviewController and RTF Files

I tried out using Xcode to create an RTF document. One of the things I wanted to do was to insert icons used in my app. I created the icons using Inkscape. Curious if it would work, I tried copying/pasting from Inkscape directly to Xcode. All seemed…
Victor Engel
  • 2,037
  • 2
  • 25
  • 46
1
vote
2 answers

single tap is not working on qlpreviewcontroller

I am using qlpreviewcontroller to show images but single tap is not working on it. How can I add single tap gesture on it. It will work for double tap to zoom in and zoom out images. Can any body help me to add single tap gesture.
Mayank Purwar
  • 265
  • 1
  • 4
  • 16
1
vote
0 answers

QLPreviewController with ALAsset items

I'm getting a list of ALAsset items (images and videos) from a specific photo album and trying to view them using a QLPreviewController. Unfortunately because ALAsset doesn't provide a real file url, just the "assets-library://" type url, viewing…
1
vote
1 answer

addSubview not calling QLPreviewControllerDataSource instances when offline

I have the following piece of code to add a QLPreviewController subview { QLPreviewController *preview = [[QLPreviewController alloc] init]; preview.delegate = self; preview.dataSource = self; [self addChildViewController:preview]; …
n915
  • 81
  • 1
  • 1
  • 5
1
vote
0 answers

QLPreviewController displays a PDF file, but the Activity View appears blank. No apps listed

I have an app that downloads a pdf file, which I then display using QLPreviewController. Tapping the "share" button in the top bar brings up an empty Activity View. It should contain "Print", "Open in iBooks", etc. screenshot:…
1
vote
1 answer

QLPreviewController displaying PDF with incorrect fonts

I'm generating a PDF in an iPad app from a nib. The app uses custom fonts which display correctly in the nib in the app. When I view this saved PDF on my Mac, it also displays in the correct font. When I display it in-app with QLPreviewController,…
Josh Paradroid
  • 1,172
  • 18
  • 45
1
vote
0 answers

iOS QuickLook QLPreviewController can it display page number of DOC file

When viewing a PDF file, QuickView can show the individual pages. Can this be done with MS Office files too (DOC, PPT)? I want a way to know how many pages/slides are in the document and what page I am currently viewing. Thanks for the help!
1
vote
1 answer

QLPreviewController ios6 get as UIImage

Is there any way to get a UIImage representation of the QLPreviewController's view in ios6?
fanghai44
  • 63
  • 6