Why is the hitTest / tap detection within a bezier path producing inaccurate results in the following scenario?
问题 I need to detect taps within a very specific area of my UI - a piano key that's at an angle, highlighted in blue here, but the way I have it currently set up, the detection is inaccurate: Since this isn't a simple rectangle, I can't just use a regular button. Instead, I decided to use the PaintCode plugin in order to create the bezier path directly from Sketch . Before you say this question is a duplicate: yes, I am aware of this question that was asked previously, and in fact I relied