Just tested with XCode 5.1 Developer Preview in iOS 7.1 and it seems they have fixed the issue. No crash, works as it should. :)
VFR Reader crashes in IOS 7
-
29-06-2022 - |
Question
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 particular page everytime.
I've googled and came to know that the same issue was also raised when the ios 6 was released. I don't know how they solved the issue.
I also tried adding the following two lines before CGContextDrawPDFPage(context, _PDFPageRef) as per this link, but it doesn't helped solving the bug.
CGContextSetRenderingIntent(context, kCGRenderingIntentDefault); CGContextSetInterpolationQuality(context, kCGInterpolationHigh);
As I am a newbie to the Iphone application development, any help would be much appreciated.
Thanks, Abilash.G
Solution
OTHER TIPS
This is a bug in iOS 7.
You should file a bug report with Apple and provide them with the PDF file that is causing the crash.