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 *)actionWhen 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.