PSPDFKit 13 Migration Guide

This guide covers updating an iOS or Mac Catalyst project from PSPDFKit 12.3 or PSPDFKit 12.4 to PSPDFKit 13. We encourage you to update as soon as possible, in order to take advantage of future new features and fixes.

PSPDFKit 13 for iOS fully supports iOS 15, 16, and 17. Xcode 15 or later is required to use this version of the SDK. Learn more in our version support guide.

Warning

Refer to the list of the removed APIs to find a replacement API. If you use removed APIs in your project, you’ll need to update to the replacement as soon as you update to PSPDFKit 13 for iOS.

Information

Refer to the list of the deprecated APIs to find a replacement API. If you use deprecated APIs in your project, your project will continue to work, but the APIs will be removed in an upcoming version of PSPDFKit.

Measurement Tools

PSPDFKit 13 for iOS removes support for setting a calibration length for a distance measurement annotation from the annotation inspector. Calibrating lengths is now done via the new scale calibration annotation tool that uses the .measurementScaleCalibration annotation variant.

The AnnotationStyle.Key values for the scale and precision to add these sections to the annotation inspector have been removed and replaced by AnnotationStyle.Key.measurementValueConfiguration, which will present the new scale list UI. That’s because scale and precision are now always grouped together.

Removed APIs

This is the list of all symbols that were removed in PSPDFKit 13 for iOS. If you use, implement, or override any of the following, take appropriate action.

Deprecated APIs

This is the list of all symbols that were deprecated in PSPDFKit 13 for iOS. If you use, implement, or override any of the following, take appropriate action.