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

# performSegue(forRow:)

Performs the segue for the specified row.

```
func performSegue(forRow row: Int)
```

## Parameters

`row`

The index of the row.

## Discussion

This method lets you programmatically transition to a new interface controller. It triggers the segue defined in your storyboard file for the specified row controller.

While similar to the [`WKInterfaceController`](/documentation/WatchKit/WKInterfaceController) class’s [`pushController(withName:context:)`](/documentation/WatchKit/WKInterfaceController/pushController(withName:context:)) method, this method supports Item Pagination . If Item Pagination is enabled, you must use this method when programmatically navigating through a table’s hierarchy. For more information on Item Pagination, see [`Support Item Pagination`](/documentation/WatchKit/WKInterfaceTable#Support-Item-Pagination).

---

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)