<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEContextMenuConfiguration/fulfill(using:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEContextMenuConfiguration(im)fulfillUsingConfiguration:"
  },
  "title" : "fulfill(using:)"
}
-->

# fulfill(using:)

Supplies a contextual menu configuration to the system.

```
func fulfill(using configuration: UIContextMenuConfiguration?) -> Bool
```

## Parameters

`configuration`

The calculated configuration for the contextual menu. Pass `nil` to cancel menu presentation.

## Return Value

`true` if you fulfill the configuration within the system’s time window; `false` otherwise.

## Discussion

When the system calls your delegate’s <doc://com.apple.documentation/documentation/UIKit/UIContextMenuInteractionDelegate/contextMenuInteraction(_:configurationForMenuAtLocation:)> method to request a menu configuration, return a [`BEContextMenuConfiguration`](/documentation/BrowserEngineKit/BEContextMenuConfiguration) instance, then call this method as soon as you can to provide the actual configuration. The system times out the request after a short delay to keep the UI responsive.

If you don’t call this method before the timeout, the system discards the contextual menu as if you passed `nil`. When you fulfill the configuration, your <doc://com.apple.documentation/documentation/UIKit/UIContextMenuInteractionDelegate> uses the `configuration` object you supply to configure the contextual menu — not the [`BEContextMenuConfiguration`](/documentation/BrowserEngineKit/BEContextMenuConfiguration) instance you pass to <doc://com.apple.documentation/documentation/UIKit/UIContextMenuInteractionDelegate/contextMenuInteraction(_:configurationForMenuAtLocation:)>.

---

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)