I am stuck with parsing a PDF file. Please guide me how to do this.
Header file.
//PDFViewer.h
@interface PDFViewer : UIView
{
CGPDFDocumentRef pdf;
}
I got another simple way to parse PDF for iPhone/iPad:
1.Take one UIwebView
(name:pdfView
).
2.Give IBoutlet
connection to it & Delegate it to FilesOwner
3.In Viewdidload
[self.pdfView loadRequest:[NSURLRequest requestWithURL:[NSURL
fileURLWithPath:[[NSBundle mainBundle]
pathForResource:@"ObjC" ofType:@"pdf"]]]];
4.ObjC.pdf should be in resource folder..