Monday, 18 April 2011

UITouch

-touchesBegan:withEvent: { // Finger down}
-touchesMoved:withEvent: { // Finger moved }
-touchesEnded:withEvent: { // Finger lifted }
-touchesCancelled:withEvent: { // Interrupts, e.g. phone call, alarm, text }
If override one method, it is recommended to override all of them.

No comments:

Post a Comment