---
title: gestureRecognizers
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiview/gesturerecognizers
---

# gestureRecognizers

The gesture-recognizer objects currently attached to the view.

## Declaration

```swift
var gestureRecognizers: [UIGestureRecognizer]? { get set }
```

## Discussion

Discussion Each of these objects is an instance of a subclass of the abstract base class UIGestureRecognizer. The default value of this property is nil. If you add a gesture recognizer and then remove it, the value of the property is an empty array.

## See Also

### Managing gesture recognizers

- [addGestureRecognizer(_:)](uikit/uiview/addgesturerecognizer(_:).md)
- [removeGestureRecognizer(_:)](uikit/uiview/removegesturerecognizer(_:).md)
- [gestureRecognizerShouldBegin(_:)](uikit/uiview/gesturerecognizershouldbegin(_:).md)
