I am trying to implement a UILongPressGestureRecognizer in an iOS app. It fires as expected, but I don’t see anyway of passing screen coordinates to my target method. Does anyone know how to do this?
I am trying to implement a UILongPressGestureRecognizer in an iOS app. It fires as
Share
This seems to work as an action:
I still don’t really understand (it seems like the last touch point is stored in the gestureRecognizer, in which case I would expect there to just be a property or something). But hey, it works.