---
title: numberOfTapsRequired
framework: watchkit
role: symbol
role_heading: Instance Property
path: watchkit/wklongpressgesturerecognizer/numberoftapsrequired
---

# numberOfTapsRequired

The number of taps on the interface object that are required for the gesture to be recognized.

## Declaration

```swift
var numberOfTapsRequired: Int { get set }
```

## Discussion

Discussion The default value of this property is 1, but you can change this value when configuring the gesture recognizer in Interface Builder.

## See Also

### Configuring the Gesture Recognizer

- [minimumPressDuration](watchkit/wklongpressgesturerecognizer/minimumpressduration.md)
- [allowableMovement](watchkit/wklongpressgesturerecognizer/allowablemovement.md)
