iospdfcgpdfcgpdfcontextcgpdfdocumentref

Rendering PDF in iOS


Need help on rendering PDF using CGPDFContext. I am currently using UIWebView to display PDF but would like to perform much more operation rather than just reading like Highlight Text, Search PDF, Annotate PDF. Not looking for using any Framework or library. Any help will be beneficial. For a start, code on how to render PDF using CGPDF and displaying it instead of using UIWebView.


Solution

  • You shoud try VFReader, it is an open source project for rendering PDF files on iOS. It can be a good starting point.