Reputation: 11297
Please see the following code:
NSString *pdfPath = [documentsDirectory stringByAppendingPathComponent:@"test.pdf"];
NSData *myData = [NSData dataWithContentsOfFile:pdfPath];
How do I convert myData to a CGPDFPageRef?
Upvotes: 3
Views: 1693