Lexandr
Lexandr

Reputation: 689

What is UITouchPhase?

There is UITouchPhaseBegan and UITouchPhaseEnd, but what is UITouchPhase?

Upvotes: 1

Views: 772

Answers (1)

uchuugaka
uchuugaka

Reputation: 12782

It is a typedef enum of constants. See the UITouch Class Reference

Touch Phase

The phase of a finger touch.

typedef enum {
   UITouchPhaseBegan,
   UITouchPhaseMoved,
   UITouchPhaseStationary,
   UITouchPhaseEnded,
   UITouchPhaseCancelled,
} UITouchPhase;

Upvotes: 2

Related Questions