通过indexPath找到对应的cell

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

这个方法中通过indexPath找到对应的cell,可以用UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]来获取

原文地址:https://www.cnblogs.com/cityingma/p/5123946.html