Contents

allControlEvents

Returns the events for which the control has associated actions.

Declaration

var allControlEvents: UIControl.Event { get }

Return Value

A bitmask of constants indicating the events for which this control has associated actions. For a list of possible constants, see the UIControl.Event type.

Discussion

You can use this method to ascertain which control events trigger actions. More than one action method may be called for a given event.

See Also

Managing the control’s targets and actions