<!--
{
  "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/indexPathForRow(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITableView(im)indexPathForRowAtPoint:"
  },
  "title" : "indexPathForRow(at:)"
}
-->

# indexPathForRow(at:)

Returns an index path that identifies the row and section at the specified point.

```
func indexPathForRow(at point: CGPoint) -> IndexPath?
```

## Parameters

`point`

A point in the local coordinate system of the table view (the table view’s bounds).

## Return Value

An index path representing the row and section associated with `point`, or `nil` if the point is out of the bounds of any row.

## Discussion

---

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)