TouchDown, TouchUpInside, TouchUpOutside, TouchCancel What is the Sequence of the Events?
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
Related videos on Youtube
DShah
Started with Java Spring (J2EE). Swift, Objective C, Android, PHP (Intermediate), Spring, PhoneGap, Titanium, JavaScript, CoreJava, C#.net, VB.Net, Delphi 7 Expertise in Architecture and Design for iOS apps. Experience in delivering Frameworks & Libraries Expertise CI / CD for mobile apps & libraries. SAFe Agile Practitioner
Updated on June 04, 2022Comments
-
DShah almost 2 years
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...?????/