We are excited to introduce version 6.8.5 of PDFTron for iOS. This release includes a standalone viewer component, tabbed viewer component, new APIs for customizing the UI Tools, and more.

linkDocument Viewer Component

With this release, we have added a new drop in viewer component that allows you to easily add a PDF reader/annotator complete with toolbars and settings dialogs. All of the individual components were available in earlier versions of the SDK, but are now bundled into one easy-to-use UIViewController for even faster implementation.

The document viewer component.

For more information on the document viewer component, please see our guide.

linkTabbed Viewer Component

A second drop in viewer component can display multiple documents at once in tabs. The normal and tabbed viewer components can be used interchangeably without any extra setup required.

The tabbed viewer component in use.

For more information on the tabbed viewer component, please see our guide.

linkUI tools customization APIs

With this release, it is possible to show the popup tools menu when tapping the document, as opposed to long-pressing only, as well as control whether default signatures can be saved and applied. The behaviour of the UI tools and controls can be customized with the ToolManager to best suit your needs.

It is now also possible to completely disable certain tools with a simple and easy-to-use API. For example, to disable the text selection tool, simply implement a ToolManagerDelegate method:

func toolManager(_ toolManager: ToolManager, shouldSwitchToTool tool: UIView & PTToolSwitching) -> Bool
{
    if tool is TextSelectTool {
        return false
    }
    // Allow all other tools.
    return true
}

For more information on UI tools customization, please see our customization guide.

linkAnd more...

For a full list of changes, please see the changelog for PDFTron 6.8.5 for iOS.

We hope you like these changes and any feedback is greatly appreciated. Please don't hesitate and contact us if you have any questions or suggestions. We also have many exciting new features planned for the coming weeks and months, so stay tuned.