---
title: subtype
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uievent/subtype
---

# subtype

Returns the subtype of the event.

## Declaration

```swift
var subtype: UIEvent.EventSubtype { get }
```

## Discussion

Discussion The UIEvent.EventSubtype constant returned by this property indicates the subtype of the event in relation to the general type, which you can retrieve from the type property.

## See Also

### Getting the event type

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