Class

UIAccessibilityCustomAction

A custom action to be performed on an accessible object.

Overview

Apps that support custom actions can create instances of this class, specifying the user-readable name of the action and the object and selector to use when performing the action. Assistive technologies display custom actions in response to specific user cues. For example, VoiceOver lets users access actions quickly using the Actions rotor.

After creating an instance of this class, add it to the accessibilityCustomActions property of an appropriate accessible object.

Symbols

Initializing a Custom Action

init(name: String, target: Any?, selector: Selector)

Returns an initialized custom action object with the specified name.

Accessing the Action Parameters

var name: String

The localized name of the action.

var target: AnyObject?

The object that performs the action.

var selector: Selector

The method that performs the action.

Relationships

Inherits From

Conforms To