Instance Property
インスタンスプロパティ
accessibilityValue
A localized string that contains the value of the accessibility element.
Declaration
宣言
@property(nullable, nonatomic, copy) NSString
*accessibilityValue;
Discussion
解説
The default value for this property is nil
unless the element is a UIKit control, in which case, the value of the property represents the value of the control when it differs from the label.
When an accessibility element has a static label and a dynamic value, set this property to return the value. For example, although an accessibility element that represents a text field might have the label Message, its value is the text currently inside the text field.
See Also
参照
Supporting Basic Accessibility
isAccessibilityElement
A Boolean value that indicates whether the element is an accessibility element that an assistive app can access.
accessibilityLabel
A succinct label in a localized string that identifies the accessibility element.
accessibilityHint
A localized string that contains a brief description of the result of performing an action on the accessibility element.
accessibilityTraits
The combination of accessibility traits that best characterizes the accessibility element.