<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPopoverPresentationController/delegate",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIPopoverPresentationController(py)delegate"
  },
  "title" : "delegate"
}
-->

# delegate

The delegate that handles popover-related messages.

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

## Discussion

At various points during the presentation process, the popover presentation controller calls methods of its delegate to give that object a chance to respond. You might use a delegate to further configure the popover presentation controller or to respond to user-initiated actions relating to the popover. For example, immediately prior to displaying the popover, the presentation controller calls the [`prepareForPopoverPresentation(_:)`](/documentation/UIKit/UIPopoverPresentationControllerDelegate/prepareForPopoverPresentation(_:)) method of the delegate object.

For more information about the methods that you can implement in your delegate object, see [`UIPopoverPresentationControllerDelegate`](/documentation/UIKit/UIPopoverPresentationControllerDelegate).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)