There are numerous threads about correctly sizing a tableHeaderView with auto-layout (one such thread) but they tend to pre-date iOS 8.
I have a situation with numerous
I had a same problem. This works well for me on iOS 8.4.
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { [self.myLabel sizeToFit]; [self.tableView.tableHeaderView layoutIfNeeded]; return UITableViewAutomaticDimension; }