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.sharedInstance.versionString
NSString *pspdfVersionString = PSPDFKit.sharedInstance.versionString;
Another option is to open
PSPDFKitUI.framework. 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
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.