---
title: "sendAction(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uicontrol/sendaction(_:)"
---

# sendAction(_:)

Like -sendAction:to:forEvent:, this method is called by -sendActionsForControlEvents:. You may override this method to observe or modify behavior. If you override this method, you should call super precisely once to dispatch the action, or not call super to suppress sending that action.

## Declaration

```swift
func sendAction(_ action: UIAction)
```

## See Also

### Triggering actions

- [performPrimaryAction()](uikit/uicontrol/performprimaryaction().md)
- [sendAction(_:to:for:)](uikit/uicontrol/sendaction(_:to:for:).md)
- [sendActions(for:)](uikit/uicontrol/sendactions(for:).md)
