I am trying to write a method that receives the coordinates of a ending touch event when a user touches a button and then drags off off the button. Is the touch coordinate information available if the button is passed into the method as the sender? Any suggestions are welcome.
Share
The touch coordinates information is not available form the sender. But your action’s selector can take the form
and the
eventdoes contain the coordinates and other things.