Class

UIAccessibilityCustomAction

A custom action to be performed on an accessible object.

Declaration

@interface UIAccessibilityCustomAction : NSObject

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.

Topics

Initializing a Custom Action

- initWithName:target:selector:

Returns an initialized custom action object with the specified name.

- initWithAttributedName:target:selector:

Returns an initialized custom action object with the specified name.

Accessing the Action Parameters

name

The localized name of the action.

attributedName

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

target

The object that performs the action.

selector

The method that performs the action.

Instance Properties

Relationships

Inherits From

See Also

Actions

UIAccessibilityAction

A set of methods that accessibility elements can use to support specific actions.

Delivering an Exceptional Accessibility Experience

Make improvements to your app’s interaction model to support assistive technologies such as VoiceOver.