UITableViewCell - heightForRowAtIndexPath - Animation Speed xcode objective c
-
17-06-2021 - |
Question
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?
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow