Contents

type

Returns the type of the event.

Declaration

var type: UIEvent.EventType { get }

Discussion

The UIEvent.EventType constant returned by this property indicates the general type of this event — for example, whether it’s a touch or motion event.

See Also

Getting the event type