【问题标题】:UITableViewCell - heightForRowAtIndexPath - Animation Speed xcode objective cUITableViewCell - heightForRowAtIndexPath - 动画速度 xcode 目标 c
【发布时间】:2012-06-27 07:40:37
【问题描述】:

当使用

更改单元格的行高时
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
  if (a)
    return 55
  else
    return 266
}

那么,

[aTableView beginUpdates];

如果表格单元格发生变化,表格单元格将动画到高度。

有没有办法控制这个动画的速度?

【问题讨论】:

    标签: xcode animation uitableview heightforrowatindexpath


    【解决方案1】:

    没有。无法控制表格视图动画的速度。 也许你可以写一个自定义的表格视图,然后你可以控制很多你喜欢的东西。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-26
      相关资源
      最近更新 更多