UITableView - what row was selected?
If you haven't implemented a delegate (see nduplessis), UITableView also offers:
- (NSIndexPath *)indexPathForSelectedRow
The UITableViewDelegate will call
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
when a row is selected. From this you can easily determine the row by using indexPath.section and indexPath.row