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

# delegate

The delegate you want to receive popover controller messages.

## Declaration

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

## Discussion

Discussion The popover controller uses its delegate to determine whether it should dismiss the popover and provides a notification when such an event occurs. For more information about the methods you can implement in your delegate, see UIPopoverControllerDelegate.
