Question

I have implemented touches method inside a view. touchesMoved method gets called four to five times and touch gets cancelled automatically.
Can u please tell me the reason for this? Thanks in advance

Was it helpful?

Solution

If you have added any gesturerecognizer in your class then it will cancelled automatically.This happened to me also. when gestureRecognizer gets recognised then touchCancelled method will be called automatically..

OTHER TIPS

TouchesBegan : will be called when touch begins (Gives starting point of touch) TouchesMoved : will be called when the touch moves(touch the screed and move u r finger)[Give all the touched points between began and end] TouchesEnd : will be called when the touch ends.(Gives the Last touch Point)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top