I\'m having trouble resizing a tableHeaderView. It simple doesn\'t work.
1) Create a UITableView and UIView (100 x 320 px);
2) Set the UIView as tableHeaderV
This worked for me on iOS 7 and 8. This code is running on the table view controller.
[UIView animateWithDuration:0.3 animations:^{
CGRect oldFrame = self.headerView.frame;
self.headerView.frame = CGRectMake(oldFrame.origin.x, oldFrame.origin.y, oldFrame.size.width, newHeight);
[self.tableView setTableHeaderView:self.headerView];
}];