isContextMenuInteractionEnabled
A Boolean value that determines whether the control enables its context menu interaction.
Declaration
var isContextMenuInteractionEnabled: Bool { get set }Discussion
The default value is false.
See Also
Managing context menus
Adding context menus in your appcontextMenuInteractionshowsMenuAsPrimaryActioncontextMenuInteraction(_:configurationForMenuAtLocation:)contextMenuInteraction(_:previewForDismissingMenuWithConfiguration:)contextMenuInteraction(_:previewForHighlightingMenuWithConfiguration:)contextMenuInteraction(_:willDisplayMenuFor:animator:)contextMenuInteraction(_:willEndFor:animator:)menuAttachmentPoint(for:)