Instance Method


Calls the action methods associated with the specified events.


func sendActions(for controlEvents: UIControl.Event)



A bitmask whose set flags specify the control events for which action messages are sent. See UIControl.Event for bitmask constants.


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:) method for each one that is associated with an event in the controlEvents parameter.

See Also

Triggering Actions

func sendAction(Selector, to: Any?, for: UIEvent?)

Calls the specified action method.