<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPopoverControllerDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIPopoverControllerDelegate"
  },
  "title" : "UIPopoverControllerDelegate"
}
-->

# UIPopoverControllerDelegate

The interface for the delegate of a popover controller object.

```
@MainActor protocol UIPopoverControllerDelegate : NSObjectProtocol
```

## Overview

Popover controllers notify their delegate whenever user interactions would cause the dismissal of the popover and, in some cases, give the user a chance to prevent that dismissal.

For more information about the [`UIPopoverController`](/documentation/UIKit/UIPopoverController) class, see [`UIPopoverController`](/documentation/UIKit/UIPopoverController).

## Topics

### Responding to popover position changes

[`-  popoverController:willRepositionPopoverToRect:inView:`](/documentation/UIKit/UIPopoverControllerDelegate/popoverController(_:willRepositionPopoverTo:in:))

Tells the delegate that the popover controller needs to change the popover’s location in its view.

### Managing the popover’s dismissal

[`-  popoverControllerShouldDismissPopover:`](/documentation/UIKit/UIPopoverControllerDelegate/popoverControllerShouldDismissPopover(_:))

Asks the delegate if the popover should be dismissed.

[`-  popoverControllerDidDismissPopover:`](/documentation/UIKit/UIPopoverControllerDelegate/popoverControllerDidDismissPopover(_:))

Tells the delegate that the popover was dismissed.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)