---
title: selector
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiaccessibilitycustomaction/selector
---

# selector

The method that performs the action.

## Declaration

```swift
var selector: Selector { get set }
```

## Discussion

Discussion The signature of the selector must take one of the following forms: - (BOOL)myPerformActionMethod - (BOOL)myPerformActionMethod:(UIAccessibilityCustomAction *)action When the user selects a custom action, the assistive technology calls the specified method of the object in the target property. Use your method to perform the indicated action.

## See Also

### Accessing the action parameters

- [name](uikit/uiaccessibilitycustomaction/name.md)
- [attributedName](uikit/uiaccessibilitycustomaction/attributedname.md)
- [image](uikit/uiaccessibilitycustomaction/image.md)
- [actionHandler](uikit/uiaccessibilitycustomaction/actionhandler.md)
- [target](uikit/uiaccessibilitycustomaction/target.md)
- [UIAccessibilityCustomAction.Handler](uikit/uiaccessibilitycustomaction/handler.md)
