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 contentInsetAdjustmentBehavior to 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 **)error to convert Obj-C exceptions to Swift errors. Usage is as follows:

sh

1do
2{
3 try PTPDFNet.catchException {
4 // method that could throw an exception
5 doc = PTPDFDoc(filepath: docPath!)
6 }
7}
8catch
9{
10 print("Caught exception \(error)")
11}

##Changes and Bug fixes:

  • Adds the prefix PT to 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.

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales