Enumeration

UIEventType

Specifies the general type of an event

Overview

You can obtain the type of an event from the type property. To further identify the event, you might also need to determine its subtype, which you obtain from the subtype property.

Topics

Constants

case touches

The event is related to touches on the screen.

case motion

The event is related to motion of the device, such as when the user shakes it.

case remoteControl

The event is a remote-control event. Remote-control events originate as commands received from a headset or external accessory for the purposes of controlling multimedia on the device.

case presses

The event is related to the press of a physical button.