iOS tableviewCell 选中的是哪个cell 和 获取那个cell

//获取cell

NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];

UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];

//获取当前选中cell

NSIndexPath* indexPath = [self.tableView indexPathForSelectedRow];

你可能感兴趣的:(iOS tableviewCell 选中的是哪个cell 和 获取那个cell)