<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIEvent/EventSubtype",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIEventSubtype"
  },
  "title" : "UIEvent.EventSubtype"
}
-->

# UIEvent.EventSubtype

Constants that specify the subtype of the event in relation to its general type.

```
enum EventSubtype
```

## Overview

You can obtain the subtype of an event from the [`subtype`](/documentation/UIKit/UIEvent/subtype) property.

## Topics

### Constants

[`UIEventSubtypeNone`](/documentation/UIKit/UIEvent/EventSubtype/none)

The event has no subtype.

[`UIEventSubtypeMotionShake`](/documentation/UIKit/UIEvent/EventSubtype/motionShake)

The event is related to a person shaking the device.

[`UIEventSubtypeRemoteControlPlay`](/documentation/UIKit/UIEvent/EventSubtype/remoteControlPlay)

A remote-control event for playing audio or video.

[`UIEventSubtypeRemoteControlPause`](/documentation/UIKit/UIEvent/EventSubtype/remoteControlPause)

A remote-control event for pausing audio or video.

[`UIEventSubtypeRemoteControlStop`](/documentation/UIKit/UIEvent/EventSubtype/remoteControlStop)

A remote-control event for stopping audio or video from playing.

[`UIEventSubtypeRemoteControlTogglePlayPause`](/documentation/UIKit/UIEvent/EventSubtype/remoteControlTogglePlayPause)

A remote-control event for toggling audio or video between play and pause.

[`UIEventSubtypeRemoteControlNextTrack`](/documentation/UIKit/UIEvent/EventSubtype/remoteControlNextTrack)

A remote-control event for skipping to the next audio or video track.

[`UIEventSubtypeRemoteControlPreviousTrack`](/documentation/UIKit/UIEvent/EventSubtype/remoteControlPreviousTrack)

A remote-control event for skipping to the previous audio or video track.

[`UIEventSubtypeRemoteControlBeginSeekingBackward`](/documentation/UIKit/UIEvent/EventSubtype/remoteControlBeginSeekingBackward)

A remote-control event to start seeking backward through the audio or video medium.

[`UIEventSubtypeRemoteControlEndSeekingBackward`](/documentation/UIKit/UIEvent/EventSubtype/remoteControlEndSeekingBackward)

A remote-control event to end seeking backward through the audio or video medium.

[`UIEventSubtypeRemoteControlBeginSeekingForward`](/documentation/UIKit/UIEvent/EventSubtype/remoteControlBeginSeekingForward)

A remote-control event to start seeking forward through the audio or video medium.

[`UIEventSubtypeRemoteControlEndSeekingForward`](/documentation/UIKit/UIEvent/EventSubtype/remoteControlEndSeekingForward)

A remote-control event to end seeking forward through the audio or video medium.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)