Integrate the new Viewer UI
If you are migrating from an existing implementation, please see the migration guide.
Single document viewer
Follow the existing guides, using a PTDocumentController instead of a PTDocumentViewController.
Tabbed document viewer
Create a PTTabbedDocumentViewController as described in the guides, and then set its viewControllerClass property to the PTDocumentController class:
tabbedDocumentViewController.viewControllerClass = PTDocumentController.selfLast updated
Was this helpful?