---
title: UIEvent.EventType
framework: uikit
role: symbol
role_heading: Enumeration
path: uikit/uievent/eventtype
---

# UIEvent.EventType

Constants that specify the general type of an event.

## Declaration

```swift
enum EventType
```

## Overview

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

- [UIEvent.EventType.touches](uikit/uievent/eventtype/touches.md)
- [UIEvent.EventType.motion](uikit/uievent/eventtype/motion.md)
- [UIEvent.EventType.remoteControl](uikit/uievent/eventtype/remotecontrol.md)
- [UIEvent.EventType.presses](uikit/uievent/eventtype/presses.md)
- [UIEvent.EventType.scroll](uikit/uievent/eventtype/scroll.md)
- [UIEvent.EventType.hover](uikit/uievent/eventtype/hover.md)
- [UIEvent.EventType.transform](uikit/uievent/eventtype/transform.md)

### Initializers

- [init(rawValue:)](uikit/uievent/eventtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting the event type

- [type](uikit/uievent/type.md)
- [subtype](uikit/uievent/subtype.md)
- [UIEvent.EventSubtype](uikit/uievent/eventsubtype.md)
