PSPDFKit 9.2 for iOS
With the release of PSPDFKit 9.2 for iOS, we’re continuing our efforts to improve stability and add polish throughout our SDK. Today’s release updates some key user interface text to be more natural and consistent, adds additional customizations for Dark Mode, and extends Mac Catalyst support even further. As always, the release also includes a large set of other smaller enhancements and fixes, which you can find listed in our changelog.
Annotation Tool Naming
PSPDFKit 9 for iOS introduced a brand new design for annotation groups on the toolbar. Now, in addition to showing icons, this also shows labels for the individual annotation creation tools, making it much easier to find the annotation type you would like to work with. The change also made it obvious that our automatic annotation type and variant naming appeared a bit artificial and lacked consistency. We audited and copy edited this text, along with the text in some other places throughout the framework, and came up with a clearer and more consistent naming scheme.
Naturally, those changes have led to a few string keys changing in our localization files. If you’re relying on string keys for any customizations, you should check out our migration guide for details.
Previous Menu UI | New Menu UI |
---|---|
Dark Mode
In this release, we’re extending support for Dark Mode to the notes and comments view. The note interface is dynamically tinted based on the user-selected note color. As those colors can often appear a bit too bright in dark environments, we’re now automatically switching to an alternative color palette for notes in Dark Mode.
Previous Note UI in Dark Mode | New Note UI in Dark Mode |
---|---|
We’ve also looked into improving contrast and readability for dynamically tinted content — such as the document outline and the annotation list — when used on dark backgrounds. The outline text and the annotation symbols are tinted based on color data from the PDF document. Those colors can often make the content difficult to distinguish when a dark background is used. To solve this problem, we now employ a new algorithm that ensures there’s always enough contrast between the background and foreground content.
Outline in Light Mode | Previous Outline in in Dark Mode | New Outline in in Dark Mode |
---|---|---|
Mac Catalyst
Providing first-class Mac Catalyst support has been a key priority for us ever since the new platform was first announced. In this release, we’re continuing our efforts by further improving our hardware keyboard support: PSPDFKit now correctly handles Page Up / Page Down keys and also offers support for the Select All action. We also significantly improved update performance on the annotation list, which is often permanently displayed in a sidebar on Mac applications.
Third-Party Styluses
Since the introduction of Apple Pencil, we noticed interest in our third-party stylus support gradually, but steadily, dissipating. We feel that Apple Pencil is mainstream enough that we can now focus our efforts on providing a first-class experience for it. That’s why, with PSPDFKit 9.2 for iOS, we’re removing support for third-party stylus SDKs. Doing so has enabled us to reduce complexity in our API, as well as streamline the pencil selection UI for Apple Pencil.
Please take a look at the PSPDFKit 9.2 for iOS migration guide for more details on the removed APIs.
More Details
This release also contains a large amount of smaller enhancements and fixes. One notable change is that PSPDFKit no longer requires the NSPhotoLibraryUsageDescription
permission in your app’s Info.plist
file, as we could improve the logic around the image picker to no longer rely on it. If you were adding this key just for PSPDFKit, you can now remove it. We also identified and fixed several issues with drawing annotations, particularly with both ink annotations and callout annotations in inverted page-rendering mode. The team also focused on performance and made some tweaks that will result in less file-size growth in PDFs when incremental saving is used.
To see a complete list of changes, check out the PSPDFKit 9.2 for iOS changelog.
Matej is a software engineering leader from Slovenia. He began his career freelancing and contributing to open source software. Later, he joined Nutrient, where he played a key role in creating its initial products and teams, eventually taking over as the company’s Chief Technology Officer. Outside of work, Matej enjoys playing tennis, skiing, and traveling.