---
title: "init(systemType:itemSearch:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uiaccessibilitycustomrotor/init(systemtype:itemsearch:)"
---

# init(systemType:itemSearch:)

Creates a rotor for the specified type of item.

## Declaration

```swift
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 doc://com.apple.uikit/documentation/UIKit/UIAccessibilityCustomRotor/SystemRotorType-swift.enum.
- `itemSearchBlock`: The block that provides the next or previous rotor for the given type.

## Return Value

Return Value An initialized rotor object.

## See Also

### Creating a rotor object

- [init(attributedName:itemSearch:)](uikit/uiaccessibilitycustomrotor/init(attributedname:itemsearch:).md)
- [init(name:itemSearch:)](uikit/uiaccessibilitycustomrotor/init(name:itemsearch:).md)
