<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIEditMenuInteractionDelegate/editMenuInteraction(_:willDismissMenuFor:animator:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIEditMenuInteractionDelegate(im)editMenuInteraction:willDismissMenuForConfiguration:animator:"
  },
  "title" : "editMenuInteraction(_:willDismissMenuFor:animator:)"
}
-->

# editMenuInteraction(_:willDismissMenuFor:animator:)

Informs the delegate when the interaction is about to dismiss the menu.

```
optional func editMenuInteraction(_ interaction: UIEditMenuInteraction, willDismissMenuFor configuration: UIEditMenuConfiguration, animator: any UIEditMenuInteractionAnimating)
```

## Parameters

`interaction`

The interaction object triggering the menu.

`configuration`

The object containing the configuration details for the menu.

`animator`

The object you use to add animations that run alongside the dismiss transition.

---

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)