I played a lot with height changes animation for table cells, unfortunately there are some problems with all methods I know.
Try to use this method of UITableView
:
[UITableView reloadRowsAtIndexPaths:rowsToReload withRowAnimation: UITableViewRowAnimationNone];
Also try to change UITableViewRowAnimationNone
to UITableViewRowAnimationAutomatic
(I found that UITableViewRowAnimationNone
leads to incorrect animation on iPhone/iPod)
For my project I ended with animated [tableView reloadData]
method:
[UIView transitionWithView: self.tableView duration: 0.3 options: UIViewAnimationOptionTransitionCrossDissolve animations:^{
[self.tableView reloadData];
} completion: nil];