---
title: menu
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibutton/menu
---

# menu

A menu that the button displays.

## Declaration

```swift
@NSCopying var menu: UIMenu? { get set }
```

## Discussion

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

- [isHeld](uikit/uibutton/isheld.md)
- [changesSelectionAsPrimaryAction](uikit/uibutton/changesselectionasprimaryaction.md)
- [preferredMenuElementOrder](uikit/uibutton/preferredmenuelementorder.md)
