<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIAccessibilityCustomRotor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIAccessibilityCustomRotor"
  },
  "title" : "UIAccessibilityCustomRotor"
}
-->

# UIAccessibilityCustomRotor

A context-sensitive function that helps VoiceOver users find the next instance of a related element.

```
@MainActor class UIAccessibilityCustomRotor
```

## Overview

You might use an instance of this class to find the next link in an article, or the next misspelled word in a document.

> Related Sessions from WWDC20:
> Session 10116: [VoiceOver Efficiency with Custom Rotors](https://developer.apple.com/wwdc20/10116)

## Topics

### Creating a rotor object

[`-  initWithAttributedName:itemSearchBlock:`](/documentation/UIKit/UIAccessibilityCustomRotor/init(attributedName:itemSearch:))

Creates a rotor with the specified name and search block.

[`-  initWithName:itemSearchBlock:`](/documentation/UIKit/UIAccessibilityCustomRotor/init(name:itemSearch:))

Creates a rotor with the specified name and search block.

[`-  initWithSystemType:itemSearchBlock:`](/documentation/UIKit/UIAccessibilityCustomRotor/init(systemType:itemSearch:))

Creates a rotor for the specified type of item.

### Navigating to the next item

[`itemSearchBlock`](/documentation/UIKit/UIAccessibilityCustomRotor/itemSearchBlock)

The block for retrieving the next or previous rotor.

[`Search`](/documentation/UIKit/UIAccessibilityCustomRotor/Search)

The block type for retrieving the next or previous rotor.

[`Direction`](/documentation/UIKit/UIAccessibilityCustomRotor/Direction)

Constants that indicate the search direction.

### Getting the rotor type

[`systemRotorType`](/documentation/UIKit/UIAccessibilityCustomRotor/systemRotorType-swift.property)

The type of content that the rotor searches.

[`SystemRotorType`](/documentation/UIKit/UIAccessibilityCustomRotor/SystemRotorType-swift.enum)

Constants that indicate the type of content that the rotor represents.

### Identifying the rotor

[`name`](/documentation/UIKit/UIAccessibilityCustomRotor/name)

The name of the rotor.

[`attributedName`](/documentation/UIKit/UIAccessibilityCustomRotor/attributedName)

The name of the rotor as an attributed string.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)