---
title: menuItems
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uimenucontroller/menuitems
---

# menuItems

The custom menu items for the editing menu.

## Declaration

```swift
var menuItems: [UIMenuItem]? { get set }
```

## Discussion

Discussion The default value is nil (no custom menu items). Each menu item is an instance of the UIMenuItem class. You may create your own menu items, each with its own title and action selector, and add them to the editing menu through this property. Custom items appear in the menu after any system menu items.
