Version 6.7.3.62393 (October 13, 2017 )
Release date: October 13, 2017
Built with Xcode 9.0 GM Seed.
##Improvements:
iOS 11: Adds the property
contentInsetAdjustmentBehaviorto PTPDFViewCtrl control the behavior for determining the adjusted content offsets of the PDF scrollview in iOS 11.Bitcode: All versions of the library now ship with bitcode.
Swift errors: Added a PTPDFNet static convenience method
+ (BOOL)CatchException:(void(^)())tryBlock error:(__autoreleasing NSError **)errorto convert Obj-C exceptions to Swift errors. Usage is as follows:
do
{
try PTPDFNet.catchException {
// method that could throw an exception
doc = PTPDFDoc(filepath: docPath!)
}
}
catch
{
print("Caught exception \(error)")
}##Changes and Bug fixes:
Adds the prefix
PTto a number of classes and enums that were previously missing it.Fixes for the sampe projects when run on iOS 11.
Miscellaneous minor bug fixes.
Last updated
Was this helpful?