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

# indexPathsForVisibleRows

An array of index paths, each identifying a visible row in the table view.

```
var indexPathsForVisibleRows: [IndexPath]? { get }
```

## Discussion

The value of this property is an array of <doc://com.apple.documentation/documentation/Foundation/NSIndexPath> objects each representing a row index and section index that together identify a visible row in the table view. If no rows are visible, the value is `nil`.

---

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)