sendEvent(_:)
Dispatches an event to the appropriate responder objects in the app.
Declaration
func sendEvent(_ event: UIEvent)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.