Contents

showsMenuAsPrimaryAction

A Boolean value that determines whether the context menu interaction is the control’s primary action.

Declaration

var showsMenuAsPrimaryAction: Bool { get set }

Discussion

If this value is true, the contextMenuInteraction becomes the primary action of the control, and the menu shows in response to the touchDown event.

The default value is false.

See Also

Managing context menus