After successfully building
PSPDFKit.iOS.dll you can add stylus support to the framework by following these steps:
Extras/StylusSupport/Drivers(you can find this folder in the dmg you downloaded from your customer portal) into
.bundlefiles) you integrate them by moving them into
Xamarin-iOS/StylusDriversfolder in a terminal.
$ make alldrivers. To build individual drivers call
$ make adonitfor example.
PSPDFKit.iOSbinding project reference:
Afterwards your directory structure should look like this:
PSPDFKit.iOS/StylusSupport.csand uncomment all the drivers you previously integrated:
Catalog/Customization/PSCStylusEnabledAnnotationToolbar.csfor implementation details.
Our sample project
PSPDFCatalog contains an example called "Stylus Support" that adds a stylus button the annotation toolbar:
After pressing this button you should see a list of all the stylus types you added drivers for: