---
title: "popoverPresentationControllerDidDismissPopover(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uipopoverpresentationcontrollerdelegate/popoverpresentationcontrollerdiddismisspopover(_:)"
---

# popoverPresentationControllerDidDismissPopover(_:)

Tells the delegate that the popover was dismissed.

## Declaration

```swift
optional func popoverPresentationControllerDidDismissPopover(_ popoverPresentationController: UIPopoverPresentationController)
```

## Parameters

- `popoverPresentationController`: The popover presentation controller that is managing the popover interface.

## Discussion

Discussion The popover presentation controller calls this method after dismissing the popover to let you know that it is no longer onscreen. The presentation controller calls this method only in response to user actions. It does not call this method if you dismiss the popover programmatically. Use this method to incorporate any changes from the popover’s content view controller back into your app.

## See Also

### Presenting and dismissing the popover

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