Enumeration

UIPressPhase

The phases of a button press.

Declaration

typedef enum UIPressPhase : NSInteger {
    ...
} UIPressPhase;

Topics

Constants

UIPressPhaseBegan

A physical button was pressed.

UIPressPhaseChanged

A button moved, or the force property changed.

UIPressPhaseStationary

A button was pressed but hasn’t moved since the previous event.

UIPressPhaseEnded

A button was released.

UIPressPhaseCancelled

The system canceled tracking for the button.