Place a pencil usable button on PKCanvasView

How can I place a pencil usable button on a PKCanvasView? Before iOS 14 I deactivated drawing with finger and one could interact with a placed button with a tap, but not with the pencil. Now that touching the canvas activates the text selection tool, the button can not be used anymore with a finger tap.

Answered by WillBishop in 618199022
Perhaps create class that subclasses PKCanvasView, and intercept the touch events and do a hit test on your button?
Accepted Answer
Perhaps create class that subclasses PKCanvasView, and intercept the touch events and do a hit test on your button?
Place a pencil usable button on PKCanvasView
 
 
Q