美文网首页
7.29获取cell的index

7.29获取cell的index

作者: 小码农杰哥 | 来源:发表于2017-07-29 18:03 被阅读0次

//cell的点击方法

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

NSIndexPath *index = [NSIndexPath indexPathForRow:2 inSection:2];

PersonalDataCell *cell = [self.tableView cellForRowAtIndexPath:index];

cell.describeLabel.text = @"";

}

相关文章

网友评论

      本文标题:7.29获取cell的index

      本文链接:https://www.haomeiwen.com/subject/dieclxtx.html