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:

Swift

1tabbedDocumentViewController.viewControllerClass = PTDocumentController.self

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales