Instance Property

type

Returns the type of the event.

Declaration

var type: UIEventType { get }

Discussion

The UIEventType constant returned by this property indicates the general type of this event—for example, whether it is a touch or motion event.

See Also

Related Symbols

var subtype: UIEventSubtype

Returns the subtype of the event.