在didSelectRowAtIndexPath 里面取cell的方法

选中了tableview的cell的某一行

-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath

{

}

  

UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];

如果你是自定义的话就用下面这种

MyCustomCell *cell = (MyCustomCell *)[tableView cellForRowAtIndexPath:indexPath];

原文地址:https://www.cnblogs.com/Ninesday/p/5676091.html