<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BETextInteraction/contextMenuInteraction",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BETextInteraction(py)contextMenuInteraction"
  },
  "title" : "contextMenuInteraction"
}
-->

# contextMenuInteraction

An interaction you use to work with the text view’s context menu.

```
var contextMenuInteraction: UIContextMenuInteraction { get }
```

## Discussion

Set the context menu interaction’s <doc://com.apple.documentation/documentation/UIKit/UIContextMenuInteraction/delegate> by supplying a value for [`contextMenuInteractionDelegate`](/documentation/BrowserEngineKit/BETextInteraction/contextMenuInteractionDelegate).

---

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)