Some test text!
iOS / Changelog / v6.7.1
Platform
Documentation
Release Date: 2016.11.14
6.7.1 is a major release. Please see What's New for the changes that affect all platforms, including iOS.
The framework now ships as a dynamic framework. (A static version is still also included.) The dynamic framework simplifies integration, improves compile (linking) time and enables smaller app updates. Please see the transition guide Static to Dynamic Library Migration Guide
, also included in the download package, for moving from the static library to the dynamic library.
A bitcode version of the SDK is available license holders, but is not included in the standard download. If you you require a bitcode version of the SDK, please contact us at support@pdftron.com.
##Framework changes:
Both the static and dynamic frameworks now ship with a true umbrella header, so you only need to #import <PDFNet/PDFNet.h>
for access to all classes and methods.
PDFNet now automatically registers the resource file pdfnet.res, in the case of the static library by searching the main bundle, and in the case of the dynamic library, using the copy that is packaged with it. You no longer need to register it yourself. The dynamic library also includes and automatically registers the .plugin files.
JavaScript is now supported for form filling. JavaScript support is not enabled by default, and can enabled using PDFNet class method EnableJavaScript.
A new Xcode digital signature sample that demonstrates how to digitally (cryptographically) sign a document.
Sample projects no longer use any classes deprecated in iOS 9 or earlier.
Purge memory is now called automatically in low memory conditions. This behaviour can be toggled with the new PTPDFViewCtrl property purgeMemoryOnMemoryWarning
###PTPDFViewCtrl
Changes:
New:
overlayView
property, used to display content on top of the PDF. This the preferred method, rather than using the ContainerView instance variable.purgeMemoryOnMemoryWarning
property, used to control if memory is automatically purged if a system memory warning is received. Default is YES
.
- directionalLockEnabled
property, used to control if the UIScrollViewer that displays the PDF has the directional lock enabled. Default is YES
.
- -(PTPDFRect*)GetScreenRectForAnnot:page_num:
, used to get the bounding box for an annotation.
- -(void)RefreshAndUpdate:
, used to refresh the PDF after a JavaScript intiated document change.
- -(void)ClearThumbCache
, used to delete the thumbnail cache.
- -(void)ExecuteActionWithActionParameter:
, typically used to execute a JavaScript action.
Changed:
PTToolDelegate
protocol renamed to PTTool
, better reflecting the nature of the protocol.###PTPDFViewCtrlDelegate
Protocol Changes:
New:
-(void)javascriptCallback:json:
, used to handle JavaScript callback actions.###PTTool
Protocol Changes:
New:
-(void)javascriptCallback:json:
, used to handle JavaScript callback actions.#import <Tools/Tools.h>
gives access to the entire library.showMenu
has been changed to showSelectionMenu
to avoid a new conflict with an Apple private API which on occasion caused an app store submission to be rejected.
AVKit
for the new movie player.Get the answers you need: Support