An array of Text elements to use as input labels.
Instance Method
インスタンスメソッド
accessibility
accessibilityInputLabels(_:)
Sets alternate input labels with which users identify a view.
それでユーザがあるビューを識別するところの代替の入力ラベルを設定します。
Availability 有効性
- iOS 14.0+
- iPadOS 14.0+
- macOS 11.0+
- Mac Catalyst 14.0+
- tvOS 14.0+
- watchOS 7.0+
Technology
- Swift
UI
Declaration 宣言
func accessibilityInputLabels(_ inputLabels: [Text
]) -> ModifiedContent
<Self, AccessibilityAttachmentModifier
>
Parameters パラメータ
inputLabels
Discussion 議論
Provide labels in descending order of importance. Voice Control and Full Keyboard Access use the input labels.
Note 注意
If you don’t specify any input labels, the user can still refer to the view using the accessibility label that you add with the accessibility
modifier.