Some test text!

Search
Hamburger Icon

iOS / Changelog / 6.10.0.69865

Version 6.10.0 Changelog (March 4th, 2019)

  • Version: 6.10.0
  • Release Date: March 4th, 2019
  • Built with Xcode 10.1 (10B61)

New

  • The PTDocumentViewController document opening API has been expanded to support more file formats. It is now possible to open PDF, Microsoft Office, iWork (Pages, Keynote, Numbers), image, markdown, and other file formats in the document viewer. The files can be located locally or remotely and are downloaded by the viewer as necessary. For more information on the supported file formats, please see the document conversion guide .
    // Open a PDF, .docx, .pptx, .xlsx, .doc, and more.
    documentViewController.openDocument(with: documentURL)
  • The readonly and locked permissions on annotations defined within the PDF (see PTAnnotFlag for more information) can optionally be respected when attempting to select and edit annotations. This option is found on the PTToolManager class.
  • The PTPDFViewCtrl class has a new GetThumbAsync:completion: method for requesting page thumbnails that executes a completion block when the thumbnail is ready.
  • Improved annotation author API, now accessible on the PTToolManager class.
  • A new PDF visual compare/diff API, available on the PTPDFDoc class's AppendVisualDiff:p2:opts: method. Please see our File comparison guide for more information and examples.

Bug fixes

  • Improved memory usage in the PTPDFViewCtrl and thumbnail browser (PTThumbnailsViewController).
  • A number of miscellaneous bug fixes and improvements.

API diff

  • An API diff from the previous version is available.
  • The signature of the openDocument(with:) method on the PTDocumentViewController class has changed and no longer throws in Swift. Errors are now reported via the PTDocumentViewControllerDelegate protocol.
  • Nullability specifiers have been added to the PTPDFViewCtrl class and the PTPDFViewCtrlDelegate and PTPDFViewCtrlToolDelegate protocols.
  • The PTAnalyticsHandlerAdapter class has been deprecated in favor of the new PTAnalyticsManager API.
  • The PTLocalizedString macro is now a function that is accessible from Swift.

Get the answers you need: Chat with us