---
title: UIPressesEvent
framework: uikit
role: symbol
role_heading: Class
path: uikit/uipressesevent
---

# UIPressesEvent

An event that describes the state of a set of physical buttons that are available to the device, such as those on an associated remote or game controller.

## Declaration

```swift
@MainActor class UIPressesEvent
```

## Topics

### Reading the event button presses

- [allPresses](uikit/uipressesevent/allpresses.md)
- [presses(for:)](uikit/uipressesevent/presses(for:).md)

## Relationships

### Inherits From

- [UIEvent](uikit/uievent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Button presses

- [UIPress](uikit/uipress.md)
