Instance Property

allControlEvents

Returns the events for which the control has associated actions.

Declaration

@property(nonatomic, readonly) UIControlEvents allControlEvents;

Return Value

A bitmask of constants indicating the events for which this control has associated actions. For a list of possible constants, see the UIControlEvents 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

Accessing the Control’s Targets and Actions

- addTarget:action:forControlEvents:

Associates a target object and action method with the control.

- removeTarget:action:forControlEvents:

Stops the delivery of events to the specified target object.

- actionsForTarget:forControlEvent:

Returns the actions performed on a target object when the specified event occurs.

allTargets

Returns all target objects associated with the control.