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

# UITableView.ScrollPosition

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

```
enum ScrollPosition
```

## Overview

You set the scroll position through a parameter of the [`selectRow(at:animated:scrollPosition:)`](/documentation/UIKit/UITableView/selectRow(at:animated:scrollPosition:)), [`scrollToNearestSelectedRow(at:animated:)`](/documentation/UIKit/UITableView/scrollToNearestSelectedRow(at:animated:)), [`cellForRow(at:)`](/documentation/UIKit/UITableView/cellForRow(at:)), and [`indexPathForSelectedRow`](/documentation/UIKit/UITableView/indexPathForSelectedRow) methods.

## Topics

### Constants

[`UITableViewScrollPositionNone`](/documentation/UIKit/UITableView/ScrollPosition/none)

The table view scrolls the row of interest to be fully visible with a minimum of movement.

[`UITableViewScrollPositionTop`](/documentation/UIKit/UITableView/ScrollPosition/top)

The table view scrolls the row of interest to the top of the visible table view.

[`UITableViewScrollPositionMiddle`](/documentation/UIKit/UITableView/ScrollPosition/middle)

The table view scrolls the row of interest to the middle of the visible table view.

[`UITableViewScrollPositionBottom`](/documentation/UIKit/UITableView/ScrollPosition/bottom)

The table view scrolls the row of interest to the bottom of the visible table view.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)