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

# documentInteractionControllerDidDismissOpenInMenu(_:)

Called when a document interaction controller has dismissed its Open In menu.

```
optional func documentInteractionControllerDidDismissOpenInMenu(_ controller: UIDocumentInteractionController)
```

## Parameters

`controller`

The document interaction controller that dismissed its menu.

## Discussion

You can use this method to remove any additional views or content you placed underneath the Open In menu in your [`documentInteractionControllerWillPresentOpenInMenu(_:)`](/documentation/UIKit/UIDocumentInteractionControllerDelegate/documentInteractionControllerWillPresentOpenInMenu(_:)) 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)