Instance Method

accessibilityAttributeNames

Returns an array of attribute names supported by the receiver.

Declaration

- (NSArray<NSAccessibilityAttributeName> *)accessibilityAttributeNames;

Return Value

An array containing the attributes supported by the receiver.

Discussion

User interface classes must implement this method. Subclasses should invoke the superclass's implementation, if it exists, and append additional attributes or remove unsupported attributes. See Constants for lists of attribute names.

See Also

Deprecated Methods

- accessibilityActionDescription:

Returns a localized description of the specified action.

Deprecated
- accessibilityActionNames

Returns an array of action names supported by the accessibility element.

Deprecated
- accessibilityArrayAttributeCount:

Returns the count of the specified accessibility array attribute.

- accessibilityArrayAttributeValues:index:maxCount:

Returns a subarray of values of an accessibility array attribute.

- accessibilityAttributeValue:

Returns the value of the specified attribute in the receiver.

Deprecated
- accessibilityAttributeValue:forParameter:

Returns the value of the receiver's parameterized attribute corresponding to the specified attribute name and parameter.

Deprecated
- accessibilityIndexOfChild:

Returns the index of the specified accessibility child in the parent.

- accessibilityIsAttributeSettable:

Returns a Boolean value that indicates whether the value for the specified attribute in the receiver can be set.

Deprecated
- accessibilityIsIgnored

Returns a Boolean value indicating whether the receiver should be ignored in the parent-child accessibility hierarchy.

Deprecated
- accessibilityParameterizedAttributeNames

Returns a list of parameterized attribute names supported by the receiver.

Deprecated
- accessibilityPerformAction:

Performs the action associated with the specified action.

Deprecated
- accessibilitySetOverrideValue:forAttribute:

Overrides the specified attribute in the receiver or adds it if it does not exist, and sets its value to the specified value.

Deprecated
- accessibilitySetValue:forAttribute:

Sets the value of the specified attribute in the receiver to the specified value.

Deprecated