I'm trying to use PencilKit with my own UI buttons to select and configure the various pen/eraser tools (like in the example here).
After some quick and encouraging results, I'm now hitting a few walls :(
For instance I could not find in the documentation how to manually set the eraser radius before assigning it :
self.canvasView.tool = PKEraserTool( PKEraserTool.EraserType.bitmap );.
And also I've no idea how I can apply a semi-transparent overlay to a PKCanvasView (using a ZStack) while preserving its reactivity to touch/pencil stroke events.