<!--
{
  "availability" : [
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKInterfaceTable/removeRows(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKInterfaceTable(im)removeRowsAtIndexes:"
  },
  "title" : "removeRows(at:)"
}
-->

# removeRows(at:)

Removes the specified rows from the table.

```
func removeRows(at rows: IndexSet)
```

## Parameters

`rows`

An index set corresponding to the rows you want to remove. If any of the indexes are invalid, this method raises an exception.

## Discussion

This method removes row controllers from the table using the same semantics defined by the <doc://com.apple.documentation/documentation/Foundation/NSMutableArray/removeObjects(at:)> method of <doc://com.apple.documentation/documentation/Foundation/NSMutableArray>.

---

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)