Some test text!

Version 6.9.3.68951 Changelog (December 18th, 2018)

Contents

New
API differences
  • Version: 6.9.3.68951
  • Release Date: December 18th, 2018
  • Built with Xcode 10.1 (10B61)

linkNew

  • A number of new APIs allow for UI customization without modifying the source code of the open source Tools UI framework.

  • The annotation permission API has been improved so that code is less complex and supports code completion. (See the API differences section below).
  • The annotation toolbar now allows changing an annotation's style before it is created:
  • The annotation style picker shows as a popover on iPads and large iPhones in landscape:
  • A new sample, Showcase, demonstrates a number of features of the PDFTron SDK.

linkAPI differences

  • Customizing annotation permissions has changed. The new APIs are cleaner and easier to write as they employ properties with full code completion, vs. text strings that required consulting documentation. For example:

Version 6.9.3+ (new method):

toolManager.inkAnnotationPermission.canCreate = false
toolManager.inkAnnotationPermission.canEdit = false
toolManager.highlightAnnotationPermission.canCreate = false
toolManager.highlightAnnotationPermission.canEdit = false

Version 6.8.7-6.9.2 (previous method):

toolManager.configure(with: ToolManagerConfiguration { builder in
    builder.annotPermissions = [
        .ink : [
            .canCreate : false,
            .canEdit : false,
        ],
        .highlight: [
            .canCreate: false,
            .canEdit: false,
        ],
    ]
})
  • An API diff from the previous version is available.

Get the answers you need: Support

Contents

New
API differences