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.
Returns the type of the event.
var type: UIEvent.EventType { get }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.