Contents

BEContextMenuConfiguration

An object that defers presentation of a contextual menu.

Declaration

@MainActor class BEContextMenuConfiguration

Overview

Return an instance of this class when you don’t yet know whether a contextual menu is presentable, or don’t have the menu items available when the system calls your interaction delegate’s contextMenuInteraction(_:configurationForMenuAtLocation:) method. Once you have the real configuration, call fulfill(using:) with it, or pass nil to indicate that no menu presentation is possible.

Topics

Creating a context menu configuration

Fulfilling the configuration