How to cancel a touch sequence

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2009-02-10T18:37:13Z Indexed on 2010/04/05 9:33 UTC
Read the original article Hit count: 230

Filed under:
|
|

I have an UIImage view that responds to touch events. I want to cancel the touch sequence if the touch goes outside of certain bounds. How can I do that?

I know that I can inspect the coordinates of the touch object, what I don't know is how to cancel the sequence. I don't see any event in the API that allows for that.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk