When changing the row height for a cell with

-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
  if (a)
    return 55
  else
    return 266
}

Then,

[aTableView beginUpdates];

The table cell will animate to the height if it has changed.

Is there anyway to control the speed of this animation?

有帮助吗?

解决方案

No. No way to control the speed of the animation of table view. Maybe you can write a custom table view, then you can control many things as you like.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top