Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TouchDown, TouchUpInside, TouchUpOutside, TouchCancel What is the Sequence of the Events?

Amonst the Following four methods what is the sequence of the method calls...

1.. TouchDown 2.. TouchUpInside 3.. TouchUpOutside 4.. TouchCancel

I can figure out touchupinside and touchupoutside... but what about touchdown and touchinside... also touchupoutside and touchcancel..

for touchdown and touchinside... is it depends on threads on which it runs... because i have faced some problems with this events in my app... and sometimes it happens that they are called randomly...

can anyone explain for touchdown and touchupinside...?????/

like image 879
DShah Avatar asked Jul 22 '11 13:07

DShah


1 Answers

TouchDown will fire before TouchUpInside because touch down is the action of your finger touching down on the phone.

TouchUpInside will happen after because it describes the action of your finger lifting up from the down position off of the phone

like image 52
brandonbocklund Avatar answered Sep 19 '22 07:09

brandonbocklund