Questions tagged [vfr-reader]

PDF Reader Core for iOS

vfr-Reader is open source PDF reader code for fellow iOS developers struggling with wrangling PDF files onto iOS device screens.

This code has been made available under the MIT License.

Github : https://github.com/vfr/Reader

Website: http://www.vfr.org/

25 questions
9
votes
2 answers

willRotateToInterfaceOrientation not called on iOS8

I'm using the VFR PDF viewer library in my app, where I present it thus: ReaderDocument *document = [ReaderDocument withDocumentFilePath:pdfFile password:nil]; ReaderViewController *vc = [[ReaderViewController alloc]…
Dave W
  • 1,061
  • 3
  • 16
  • 29
4
votes
2 answers

VFR Reader crashes in IOS 7

I am using vfr/reader in my application for reading pdf files. It was working fine in IOS 6.1. But crashes when trying to run in IOS 7, the app crashes stating EXC_BAD_ACCESS code = 1 while executing CGContextDrawPDFPage(context, _PDFPageRef); for a…
Abilash
  • 155
  • 1
  • 1
  • 9
4
votes
1 answer

PDF rendering with white lines on top/bottom, left/right edges

I'm using the (excellent) vfr-reader in several iOS applications. It works like a charm, but I'm having problems with the rendering of some PDF files. In VFR-Reader, I'm seeing white lines at the top and bottom, and/or left and right edges, which is…
thomers
  • 2,603
  • 4
  • 29
  • 50
4
votes
0 answers

iPhone sdk how to implement two page view with vfr reader in landscape mode?

How to add two page view in vfr reader? i got the following post for that, How to prevent UIView from being resized to fit ScrollView height (autoresizing disabled)? But i couldn't understand that much. Can anyone of you please suggest some idea's…
Saranya
  • 1,481
  • 3
  • 14
  • 26
3
votes
2 answers

Vfr-Reader crashes on assert(range.location != NSNotFound);

I am using thisopen source control called Vfr Reader to show pdf files in my app. All was working on iOS 7. After iOS update app crashes when I try on open a pdf file. I am using this code to initialize pdf reader. NSString *fileName = [[NSBundle…
Ali Sufyan
  • 2,038
  • 3
  • 17
  • 27
3
votes
3 answers

VFR-Reader Crashing in iOS8

I tested an app that is currently working with the VFR-Reader-Core on iOS8 and I get a complete crash when I try to open a PDF from it. Am I the only one with this problem? any idea of where I can search to correct this? Here is the crash…
3
votes
1 answer

Embedding a VFR Reader inside another view

I'm trying to add PDF viewing capability to my iPad app using the VFR Reader code. I can use the existing ReaderViewController to display Reader as a full screen page using code like: ReaderDocument *document = [ReaderDocument…
Dave W
  • 1,061
  • 3
  • 16
  • 29
3
votes
1 answer

VFR Reader search functionality

Hi just downloaded the VFR-Reader. Its fantastic [exactly what I wanted] except it doesn't have search functionality included... Does a fork exist that has this implemented? Otherwise what is the best method to include this functionality Thanks
Roksalt
  • 481
  • 6
  • 19
3
votes
1 answer

How to set the property "Retina Display Off" programmatically?

I have used an open source API (VFR reader) to create an iOS app that displays pdf files. Now I want to disable the Retina display in my APP. How can I Do this . Please help me out..
Abi
  • 958
  • 1
  • 7
  • 22
2
votes
1 answer

Correct touch location after zooming and panning a pdf drawn in CATiledLayer on top of the UIScrollview in iOS

I am working on Atlas App in which I am displaying map which I can zoom and pan using pdf file. I am using vfr reader for this purpose and it is working fine. I want to detect the touch location so that I can get the correct state selected. I am…
PriyaJain
  • 99
  • 1
  • 2
  • 6
2
votes
1 answer

VFR Reader detect when page did rendered

I'm using vfrReader and I found that drawLayer:inContext in ReaderContentPage.m called multiple times during rendering. Is it possible to catch page did rendered event?
ChikabuZ
  • 10,031
  • 5
  • 63
  • 86
2
votes
1 answer

How To Get table of content in Vfr Reader for Pdf in iphone sdk?

I am using VFR reader to display my pdf's. I need to extract the Table of Contents on a button click and display it in a tableview then it should lead to the respective pages while tapping on each.
Anand
  • 32
  • 6
1
vote
1 answer

How to make 16:9 pdf to fit to screen size in vfr/Reader on second screen 16:9 airplay from iPad 4:3

I would like to display on the AirPlay screen the same content as the mainScreen like It does by default when you connect your device to AirPlay within the app. This is OK work naturally. But my second screen is 16:9 and my iPad 4:3 and I use…
Aaleks
  • 4,283
  • 5
  • 31
  • 39
1
vote
1 answer

Using VFR Reader, no toolbar items are shown in UIToolbar

I use the VFR Reader for iOS in Xcode 7 with Swift 2.0 via the Objective-C Bridge like this: var document:ReaderDocument? = ReaderDocument(filePath: szLibraryDirectory + "/test.pdf", password: "") if(document != nil){ var…
1
vote
0 answers

Vfr Reader implementation

I have a web api on the backend which serves a pdf and i want to show the PDF in my ios app. I was able to get it working with a UIWebView. However its not very pretty and i came across this vfr reader. Will i be able to use vfr-reader to show the…
cableload
  • 4,215
  • 5
  • 36
  • 62
1
2