Instance Method

sendEvent:

Dispatches an event to the appropriate responder objects in the app.

Declaration

- (void)sendEvent:(UIEvent *)event;

Parameters

event

A UIEvent object encapsulating the information about an event, including the touches involved.

Discussion

If you require it, you can intercept incoming events by subclassing UIApplication and overriding this method. For every event you intercept, you must dispatch it by calling [super sendEvent:event] after handling the event in your implementation.

See Also

Controlling and Handling Events

- sendAction:to:from:forEvent:

Sends an action message identified by selector to a specified target.

- beginIgnoringInteractionEvents

Tells the receiver to suspend the handling of touch-related events.

Deprecated
- endIgnoringInteractionEvents

Tells the receiver to resume the handling of touch-related events.

Deprecated
ignoringInteractionEvents

A Boolean value that indicates whether the receiver is ignoring events initiated by touches on the screen.

Deprecated
applicationSupportsShakeToEdit

A Boolean value that determines whether shaking the device displays the undo-redo user interface.