Instance Property


The minimum time (in seconds) that the mouse button must be held down in the view for the gesture to be recognized.


var minimumPressDuration: TimeInterval { get set }


The default value of this property is the same as the current double-click interval.

See Also

Configuring the Gesture Recognizer

var buttonMask: Int

A bit mask of the button (or buttons) required to recognize this press.

var allowableMovement: CGFloat

The maximum movement of the mouse in the view before the gesture fails.