---
title: UITableView.ScrollPosition
framework: uikit
role: symbol
role_heading: Enumeration
path: uikit/uitableview/scrollposition
---

# UITableView.ScrollPosition

The position in the table view (top, middle, bottom) to scroll a specified row to.

## Declaration

```swift
enum ScrollPosition
```

## Overview

Overview You set the scroll position through a parameter of the selectRow(at:animated:scrollPosition:), scrollToNearestSelectedRow(at:animated:), cellForRow(at:), and indexPathForSelectedRow methods.

## Topics

### Constants

- [UITableView.ScrollPosition.none](uikit/uitableview/scrollposition/none.md)
- [UITableView.ScrollPosition.top](uikit/uitableview/scrollposition/top.md)
- [UITableView.ScrollPosition.middle](uikit/uitableview/scrollposition/middle.md)
- [UITableView.ScrollPosition.bottom](uikit/uitableview/scrollposition/bottom.md)

### Initializers

- [init(rawValue:)](uikit/uitableview/scrollposition/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Scrolling the table view

- [scrollToRow(at:at:animated:)](uikit/uitableview/scrolltorow(at:at:animated:).md)
- [scrollToNearestSelectedRow(at:animated:)](uikit/uitableview/scrolltonearestselectedrow(at:animated:).md)
