Instance Property

selector

The method that performs the action.

Declaration

var selector: Selector { get set }

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

var name: String

The localized name of the action.

var attributedName: NSAttributedString

The localized name of the action specified as an attributed string.

var target: AnyObject?

The object that performs the action.