In these methods, I get corresponding phases:
touchesBegan:withEvent: UITouchPhaseBegan,
touchesMoved:withEvent: UITouchPhaseMoved,
touchesEnded:withEvent: UITouchPhaseEnded,
touchesCancelled:withEvent: UITouchPhaseCancelled.
Where can I get a touch event with this phase: UITouchPhaseStationary?
You can assume a touch in the time between 2 Moved
events as stationary.
(UITouchPhaseStationary
exists because of multitouch. If one finger moves while the other doesn't, a Moved
event is still triggered, but the stationary touch will be in the phase UITouchPhaseStationary
.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With