<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPressesEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIPressesEvent"
  },
  "title" : "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.

```
@MainActor class UIPressesEvent
```

## Topics

### Reading the event button presses

[`allPresses`](/documentation/UIKit/UIPressesEvent/allPresses)

The state of all physical buttons in the event.

[`presses(for:)`](/documentation/UIKit/UIPressesEvent/presses(for:))

Returns the state of all physical buttons in the event that are associated with a particular gesture recognizer.



---

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)