<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIControl/sendActions(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIControl(im)sendActionsForControlEvents:"
  },
  "title" : "sendActions(for:)"
}
-->

# sendActions(for:)

Calls the action methods associated with the specified events.

```
func sendActions(for controlEvents: UIControl.Event)
```

## Parameters

`controlEvents`

A bitmask with flags that specify the control events for which the control sends action messages. See [`UIControl.Event`](/documentation/UIKit/UIControl/Event) for bitmask constants.

## Discussion

You call this method when you want the control to perform the actions associated with the specified events. This method iterates over the control’s registered targets and action methods and calls the [`sendAction(_:to:for:)`](/documentation/UIKit/UIControl/sendAction(_:to:for:)) method for each one that is associated with an event in the `controlEvents` parameter.

## See Also

[`addTarget(_:action:for:)`](/documentation/UIKit/UIControl/addTarget(_:action:for:))

Associates a target object and action method with the control.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)