Some test text!

Loading...
Guides
8.1.0.76833

Version 8.1.0.76833 Changelog (December 4th, 2020)

  • Version: 8.1.0.76833
  • Release Date: December 4th, 2020
  • Built with Xcode 12.1 (12A7403)

The all-new UI is now out of beta, and is the default UI for the SDK.

This release includes enhanced Apple Pencil support, necessitating Bluetooth permission keys, NSBluetoothAlwaysUsageDescription and NSBluetoothPeripheralUsageDescription. Please include these in your app's "-Info.plist" file, or your app will not pass the App Store's processing step when uploaded.

The PTDocumentViewController class is deprecated in this release. For all new projects, the new PTDocumentController class should be used instead. The PTDocumentController class includes the updated annotation user interface with the PTToolGroupToolbar for a streamlined annotation workflow. Please see our migration guide for information on how to adopt the PTDocumentController class in your existing project.

In addition to the PTDocumentViewController class, the following classes are also deprecated:

The PTTabbedDocumentViewController class now creates PTDocumentController instances by default for document tabs. This behavior can be controlled with the PTTabbedDocumentViewController.viewControllerClass instance property to use the deprecated PTDocumentViewController class or a custom subclass.

New

  • Adds an Apple Pencil interaction mode setting to the PTToolsSettingsManager to control how Apple Pencil and fingers are treated when creating annotations. The different modes for the new PTToolsSettingsManager.pencilInteractionMode setting are:
    • Apple Pencil and finger touches create annotations.
    • Apple Pencil touches create annotations, fingers pan and zoom.
    • The iOS Pencil system setting is obeyed.
    The default Apple Pencil interaction mode is to obey the iOS Pencil system setting on iOS 14 and above, and to accept Pencil and finger touches on iOS 13 and below.
  • Shape annotations (rectangle, ellipse, line, arrow) can now be created with a single tap when the respective shape creation tool is active.
  • App-wide settings in the PTToolsSettingsManager can now be accessed from the viewer via the appSettingsButtonItem. By default, this item is hidden. The appSettingsButtonHidden property can be used to show this item in the more-items list from the ellipsis button in the navigation bar.
  • The magnification loupe will not be shown when creating text markup annotations with an Apple Pencil.
  • It is now possible to specify the UIDatePickerStyle for form widgets which use a date picker. This can be controlled with the following API: PTWidgetAnnotationOptions.preferredDatePickerStyle.

Other bug fixes

New cross-platform APIs

This release of PDFTron for iOS brings the core PDF functionality inline with version 8.1.0 of the PDFTron cross-platform APIs. More information can be found on What's new for cross-platform APIs.

API diff

  • An API diff from the previous version is available.

Get the answers you need: Support