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
PTDocumentViewControllerdocument 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)// Open a PDF, .docx, .pptx, .xlsx, .doc, and more.
[documentViewController openDocumentWithURL:documentURL];The readonly and locked permissions on annotations defined within the PDF (see
PTAnnotFlagfor more information) can optionally be respected when attempting to select and edit annotations. This option is found on thePTToolManagerclass.The
PTPDFViewCtrlclass has a newGetThumbAsync:completion:method for requesting page thumbnails that executes a completion block when the thumbnail is ready.Improved annotation author API, now accessible on the
PTToolManagerclass.A new PDF visual compare/diff API, available on the
PTPDFDocclass'sAppendVisualDiff:p2:opts:method. Please see our File comparison guide for more information and examples.
Bug fixes
Improved memory usage in the
PTPDFViewCtrland thumbnail browser (PTThumbnailsViewController).A number of miscellaneous bug fixes and improvements.
API diff
The signature of the
openDocument(with:)method on thePTDocumentViewControllerclass has changed and no longer throws in Swift. Errors are now reported via thePTDocumentViewControllerDelegateprotocol.Nullability specifiers have been added to the
PTPDFViewCtrlclass and thePTPDFViewCtrlDelegateandPTPDFViewCtrlToolDelegateprotocols.The
PTAnalyticsHandlerAdapterclass has been deprecated in favor of the newPTAnalyticsManagerAPI.The
PTLocalizedStringmacro is now a [function](https://sdk.apryse.com/api/ios/Other Functions.html#/c:@F@PTLocalizedString) that is accessible from Swift.
Last updated
Was this helpful?