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

accessibilityUserInputLabels

An array of localized labels the user provides to refer to the accessibility element.

Declaration 宣言

var accessibilityUserInputLabels: [String]! { get set }

Discussion 解説

The default value for this property is an empty array unless the element is a UIKit control. In that case, the value is an array with an appropriate label, if different from accessibilityLabel.

Use this property when the accessibilityLabel isn't appropriate for dictated or typed input. For example, an element that contains additional descriptive information in its accessibilityLabel can return a more concise label. The primary label is first in the array, optionally followed by alternative labels in descending order of importance. If this property returns an empty array or an invalid value, the system uses accessibilityLabel instead.

See Also 参照

Defining Accessibility Text and Language