<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIEvent/subtype",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIEvent(py)subtype"
  },
  "title" : "subtype"
}
-->

# subtype

Returns the subtype of the event.

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

## Discussion

The [`UIEvent.EventSubtype`](/documentation/UIKit/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`](/documentation/UIKit/UIEvent/type) property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)