iphone - Can you force a touch event to cancel after touchesBegan? -
Given a fixed position of one of my UIViews, I want to answer it and then touch any other touch I will cancel / end that is specially released by touching the competition.
Actually I have a UIView subclass in comfort and if it is touched I want to take some other UIViews out of the way ... So the next time this response series is touched, touch normally You can respond to / expire ...
Yes, I was seeing / running / ending this state touching but I am thinking that only the stage of that touch event There is a way to get rid of
Fake touch: Set & lt; NSObject & gt; = [UITouch ()] event = UIEvent () self.touchesEnded (fake touch, event: event)
Comments
Post a Comment