Dispatches a custom-named event.
- tvOS 9.0+
The name of the event.
A flag indicating that an event is dispatched on the target’s parent nodes after the event has been dispatched on the target.
A flag indicating whether the event is cancelable.
Extra properties that need to be exposed in the event object.
A block object to be executed when the dispatch call is complete. This block has no return value and takes two Boolean arguments that indicate whether or not the event has been dispatched and whether it was canceled. This parameter may be NULL.