Initializer

init(systemType:itemSearch:)

Creates a rotor for the specified type of item.

Declaration

init(systemType type: UIAccessibilityCustomRotor.SystemRotorType, itemSearch itemSearchBlock: @escaping UIAccessibilityCustomRotor.Search)

Parameters

type

The type of content navigated by the rotor. For a list of possible values, see UIAccessibilityCustomRotor.SystemRotorType.

itemSearchBlock

The block that provides the next or previous rotor for the given type.

Return Value

An initialized rotor object.

See Also

Creating a Rotor Object

init(name: String, itemSearch: UIAccessibilityCustomRotor.Search)

Creates a rotor with the specified name and search block.