Instance Method

setAccessibilityValue:

Sets the value of the accessibility element.

Declaration

- (void)setAccessibilityValue:(NSString *)accessibilityValue;

Parameters

accessibilityValue

The new value for the accessibility element.

Discussion

When an object has a static label and a dynamic value, set this property to a string that describes the value. For example, a switch object can have a label describing the meaning of the switch, but the value is either On or Off.

See Also

Configuring the Accessibility Attributes

- setAccessibilityIdentifier:

Sets the unique identifier string for the interface object.

- setAccessibilityLabel:

Sets a succinct label on the object that identifies the accessibility element.

- setAccessibilityHint:

Sets the description of what happens when performing an action on the accessibility element.

- setIsAccessibilityElement:

Sets whether the object is an accessibility element that an assistive app can access.

- setAccessibilityTraits:

Sets the combination of accessibility traits that best characterize the accessibility element.

- setAccessibilityImageRegions:

Marks portions of an image as separate accessible elements.