---
title: delegate
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uigesturerecognizer/delegate
---

# delegate

The delegate of the gesture recognizer.

## Declaration

```swift
weak var delegate: (any UIGestureRecognizerDelegate)? { get set }
```

## Discussion

Discussion The gesture recognizer maintains a weak reference to its delegate. The delegate must adopt the UIGestureRecognizerDelegate protocol and implement one or more of its methods.

## See Also

### Managing gesture-related interactions

- [UIGestureRecognizerDelegate](uikit/uigesturerecognizerdelegate.md)
