---
title: UIPopoverPresentationControllerDelegate
framework: uikit
role: symbol
role_heading: Protocol
path: uikit/uipopoverpresentationcontrollerdelegate
---

# UIPopoverPresentationControllerDelegate

The interface for a popover presentation delegate, which lets you customize the behavior of a popover-based presentation.

## Declaration

```swift
@MainActor protocol UIPopoverPresentationControllerDelegate : UIAdaptivePresentationControllerDelegate
```

## Overview

Overview A popover presentation controller notifies your delegate at appropriate points during the presentation process. You can use the delegate methods to customize this process and respond to changes dynamically. After defining an object that adopts this protocol, assign that object to the delegate property of a UIPopoverPresentationController object. You must present a view controller using the UIModalPresentationStyle.popover style before you can obtain such an object. For more information about popover presentation controllers, see UIPopoverPresentationController.

## Topics

### Presenting and dismissing the popover

- [prepareForPopoverPresentation(_:)](uikit/uipopoverpresentationcontrollerdelegate/prepareforpopoverpresentation(_:).md)
- [popoverPresentationControllerShouldDismissPopover(_:)](uikit/uipopoverpresentationcontrollerdelegate/popoverpresentationcontrollershoulddismisspopover(_:).md)
- [popoverPresentationControllerDidDismissPopover(_:)](uikit/uipopoverpresentationcontrollerdelegate/popoverpresentationcontrollerdiddismisspopover(_:).md)

### Repositioning the popover

- [popoverPresentationController(_:willRepositionPopoverTo:in:)](uikit/uipopoverpresentationcontrollerdelegate/popoverpresentationcontroller(_:willrepositionpopoverto:in:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [UIAdaptivePresentationControllerDelegate](uikit/uiadaptivepresentationcontrollerdelegate.md)

## See Also

### Customizing the popover behavior

- [delegate](uikit/uipopoverpresentationcontroller/delegate.md)
