我如何访问(更改imageView.image)我已经拥有的UITableView的下一个单元格:
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
答案 0 :(得分:6)
NSIndexPath *newPath = [NSIndexPath indexPathForRow:indexPath.row+1 inSection:indexPath.section];
UITableViewCell *nextCell = [tableView cellForRowAtIndexPath: newPath];