7.29获取cell的index

2017-07-29  本文已影响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 = @"";

}

上一篇 下一篇

猜你喜欢

热点阅读