A discrete gesture recognizer that tracks a specified number of mouse clicks.
- macOS 10.10+
When configuring this gesture recognizer, you can specify which mouse buttons must be clicked and how many clicks must occur before the action method is called. The user must click the specified mouse button the required number of times without dragging the mouse for the gesture to be recognized.
The gesture recognizer automatically sets the values of the
delays properties to
true for each button in the