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

# actionHandler

A handler to perform for the action.

```
var actionHandler: UIAccessibilityCustomAction.Handler? { get set }
```

## Discussion

If you set this property, the system chooses this action handler over the [`target`](/documentation/UIKit/UIAccessibilityCustomAction/target) and [`selector`](/documentation/UIKit/UIAccessibilityCustomAction/selector).

---

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)