I've implemented this method to return the section header height. However, when the height for the section changes, it happens immediately without animation.
Is there an animation for that?
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
if (flatHeader) {
return 50.0f;
} else {
return 100.0f;
}
}