I am trying to implement a CustomKeyboard as an application extension to my iOS device. What I need is the exact click location on buttons. Some users may click a little to the edge, whereas some click right in the middle of the buttons. Is there a way do achieve that?
I am trying to write it in Swift but objective-c is ok too
Getting the coordinates from the location I touch the touchscreen mentions a similar thing, but I need the coordinates from the button event, not some image. Steve's link seems to be the answer tho. I will try that one. Thanks I