Instance Property インスタンスプロパティ

accessibilityValue

A localized string that contains the value of the accessibility element.

Declaration 宣言

var accessibilityValue: String? { get set }

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