Contents

menu

A menu that the button displays.

Declaration

@NSCopying var menu: UIMenu? { get set }

Discussion

The default value is nil. When this property changes, the button automatically enables and disables the contextMenuInteraction.

See Also

Supporting menu and toggle buttons