---
title: action
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uimenuitem/action
---

# action

A selector identifying the method of the responder object to invoke for handling of the menu command.

## Declaration

```swift
var action: Selector { get set }
```

## Discussion

Discussion The action selector cannot be NULL.

## See Also

### Accessing menu-item attributes

- [title](uikit/uimenuitem/title.md)
