开发者

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

开发者 https://www.devze.com 2023-03-22 10:56 出处:网络
Amonst the Following f开发者_Python百科our methods what is the sequence of the method calls... 1.. TouchDown

Amonst the Following f开发者_Python百科our 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...?????/


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

0

精彩评论

暂无评论...
验证码 换一张
取 消