Getting the Currently Used Version

If you are unsure about the version of PSPDFKit you are using, there are ways to find out.

The current way to ask for the framework version at runtime is:

let pspdfVersionString = PSPDFKit.SDK.versionString
NSString *pspdfVersionString = PSPDFKitGlobal.versionString;

Another option is to open PSPDFKit.xcframework or PSPDFKitUI.xcframework. Inside, you will find the file VERSION with the version number inside.

Note: You are required to use the same version from the same disk image for both PSPDFKit.xcframework and PSPDFKitUI.xcframework.

Beginning with PSPDFKit 6.6.0 for iOS, the topmost folder in the downloaded disk image has the same name as the version of PSPDFKit in use.