- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
}
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];MyCustomCell *cell = (MyCustomCell *)[tableView cellForRowAtIndexPath:indexPath];在didSelectRowAtIndexPath 里面取cell的方法
原文:https://www.cnblogs.com/CH520/p/10457457.html