I am stuck parsing a PDF file. Please help me how to do this.
Header file
//PDFViewer.h @interface PDFViewer : UIView { CGPDFDocumentRef pdf; } -(void)drawInContext:(CGContextRef)context; @end
Implementation file
Now I am adding this class (PDFViewer.h) to my MainViewController.
He does not show anything. I get the following errors / warnings:
local MultiView[2850] <Error>: CGContextTranslateCTM: invalid context local MultiView[2850] <Error>: CGContextScaleCTM: invalid context local MultiView[2850] <Error>: CGContextSaveGState: invalid context local MultiView[2850] <Error>: CGContextConcatCTM: invalid context local MultiView[2850] <Error>: CGContextRestoreGState: invalid context
What am I missing?
Sincerely.
objective-c pdf ipad
TechBee
source share