<!--
{
  "availability" : [
    "iOS: 3.2.0 - 9.0.0",
    "iPadOS: 3.2.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "tvOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPopoverControllerDelegate/popoverControllerDidDismissPopover(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIPopoverControllerDelegate(im)popoverControllerDidDismissPopover:"
  },
  "title" : "popoverControllerDidDismissPopover(_:)"
}
-->

# popoverControllerDidDismissPopover(_:)

Tells the delegate that the popover was dismissed.

```
optional func popoverControllerDidDismissPopover(_ popoverController: UIPopoverController)
```

## Parameters

`popoverController`

The popover controller that was dismissed.

## Discussion

The popover controller does not call this method in response to programmatic calls to the [`dismiss(animated:)`](/documentation/UIKit/UIPopoverController/dismiss(animated:)) method. If you dismiss the popover programmatically, you should perform any cleanup actions immediately after calling the [`dismiss(animated:)`](/documentation/UIKit/UIPopoverController/dismiss(animated:)) method.

You can use this method to incorporate any changes from the popover’s content view controller back into your application. If you do not plan to use the object in the `popoverController` parameter again, it is safe to release it from this method.

---

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)