Document viewer controller

In this document
chevron_rightShowing a document
Beta Class
This is a new class that is released as "beta". It is part of the open source UI Tools framework. We would appreciate any feedback, just contact support or fill out the form at the bottom of the page.

The PTDocumentViewController shows a PDF viewer and annotator complete with controls such as an annotation toolbar, page layout controls, bookmarks, thumbnail viewer, etc. All of its component pieces are part of the Tools framework, and this class packages them into one easy to use view controller.

For a version of PTDocumentViewController that supports multiple documents, see PTTabbedDocumentViewController

The document viewer includes a toolbar at the top and quick scroller at the bottom.

linkShowing a document

The document view control is part of the Tools library, so make sure you have added the Tools library to your project.

The following shows how to create a document viewer, set the document to display, and present it on screen.