Contents

tableView(_:appEntityIdentifierForRowAt:)

Asks the data source to return an app entity identifier for a cell at a particular location in the table view.

Declaration

@MainActor func tableView(_ tableView: UITableView, appEntityIdentifierForRowAt indexPath: IndexPath) -> EntityIdentifier?

Parameters

  • tableView:

    The table-view object asking for the app entity identifier.

  • indexPath:

    An index path locating a row in the table view.

Return Value

The app entity identifier for the item at the specified location in the table view.

Discussion

For more information, refer to doc:Making-onscreen-content-available-to-siri-and-apple-intelligence and App Intents.