在didSelectRowAtIndexPath 里面取cell的方法

选中了tableview的cell的某一行table

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

{di

}tableview

  

UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];view

若是你是自定义的话就用下面这种vi

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

相关文章
相关标签/搜索