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

accessibilityCustomRotors

An array of custom rotors for the current accessibility element.

Declaration 宣言

var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? { get set }

Discussion 解説

The default value for this array is nil.

Assistive apps, like VoiceOver, use a context-sensitive function that provides more power and flexibility to perform actions and searches. VoiceOver accesses this functionality through the VoiceOver rotor.

A current element can expose an array of custom rotors that a user can activate to search for other instances of similar elements. The same applies to ranges within elements.

For example, in a magazine app, you can create a custom rotor to allow the user to find the next link or heading within an article. In a document editor, you can help the user find the next misspelled word by returning the next range that contains a misspelled word.

See Also 参照

Configuring Behavior