PDFTron is now Apryse. Same great products, new name.

Improved text search, easier customization, and more in PDFTron 6.9.5 for iOS

By Jamie Dassoulas | 2019 Jan 31

Sanity Image

We are pleased to introduce version 6.9.5 of PDFTron's iOS SDK. This release adds overriding of internal classes, a new full text search control, a new annotation toolbar precedence array API, and more.

Overriding internal classes

With this release it is now possible for classes that are used internally by PTDocumentViewController and PTTabbedDocumentViewController to be subclassed. Previously this was only possible by modifying the source code of the open source Tools UI framework. This new API allows for more flexible customization by subclassing the PTDocumentViewControllers created by the PTTabbedDocumentViewController as well as any class which inherits from PTTool.

Subclassing PTDocumentViewController for example would allow for intercepting and forwarding of internal callbacks such as the PTToolManager's annotationAdded delegate method, along with many others.

We will be adding the ability to subclass even more classes in future releases.

Text search

This release also includes a new PTTextSearchViewController class with improved text search. A full list of search results is now shown along with controls to quickly and easily navigate through the results, as well as configure search options:

Blog image

Annotation toolbar precedence array

There is a new precedence array API available for the PTAnnotationToolbar to allow changing which buttons are visible for different toolbar sizes. The buttons will automatically be displayed based on their order in the precedenceArray and the available screen width.

And more…

Please see our change log for a list of all changes.

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

Sanity Image

Jamie Dassoulas

Share this post

email
linkedIn
twitter