UIControlEventTouchDragExit only fires ~100 pixels out

Posted by Jonathan on Stack Overflow See other posts from Stack Overflow or by Jonathan
Published on 2010-04-27T18:11:54Z Indexed on 2010/04/27 18:13 UTC
Read the original article Hit count: 380

Filed under:
|
|

Im trying to "get" when a finger/touch leaves a UIButton in objective C for iphone. I was told in another answer to use UIControlEventTouchDragExit however this event only fires when the touch gets about 100 pixels away from the button, whereas I would like it to be immediate. The apple docs say that goes according to the bounds however my understand is the bounds and the frame are the same unless you rotate the UIbutton (or whatever)

© Stack Overflow or respective owner

UIControlEventTouchDragExit only fires ~100 pixels out

Posted by Jonathan on Stack Overflow See other posts from Stack Overflow or by Jonathan
Published on 2010-04-27T18:12:13Z Indexed on 2010/04/27 18:13 UTC
Read the original article Hit count: 380

Filed under:
|
|

Im trying to "get" when a finger/touch leaves a UIButton in objective C for iphone. I was told in another answer to use UIControlEventTouchDragExit however this event only fires when the touch gets about 100 pixels away from the button, whereas I would like it to be immediate. The apple docs say that goes according to the bounds however my understand is the bounds and the frame are the same unless you rotate the UIbutton (or whatever)

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone