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

accessibilityRespondsToUserInteraction

A Boolean value that indicates whether the accessibility element performs an action due to user interaction.

Declaration 宣言

var accessibilityRespondsToUserInteraction: Bool { get set }

Discussion 解説

The default value derives from other accessibility properties. For example, an element with notEnabled returns false.

If your app has a button that updates the interface when the user taps it, return true. For a label that only displays information, return false.

See Also 参照

Configuring Behavior