<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: 10.2.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIScrollView/IndexDisplayMode-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIScrollViewIndexDisplayMode"
  },
  "title" : "UIScrollView.IndexDisplayMode"
}
-->

# UIScrollView.IndexDisplayMode

Defines constants that represent how the index appears while the user is scrolling.

```
enum IndexDisplayMode
```

## Topics

### Constants

[`case automatic`](/documentation/UIKit/UIScrollView/IndexDisplayMode-swift.enum/automatic)

The index is displayed or hidden automatically.

[`case alwaysHidden`](/documentation/UIKit/UIScrollView/IndexDisplayMode-swift.enum/alwaysHidden)

The index is never displayed.

### Initializers

[`init?(rawValue: Int)`](/documentation/UIKit/UIScrollView/IndexDisplayMode-swift.enum/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)