title: how to remove the empty title headers
body: <p>I am having a table view, in that I am having title headers, they are working well, but the sum of the title header values are getting null, I want to hide that null title header in my table view. how can I do this process. please help me in coding.<img src="https://i.stack.imgur.com/mg0Y6.png" alt="image"></p>
  
  <pre><code>- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
  {
  return [reverseOrder1 objectAtIndex:section];
  }
  - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
  {
    return 60;
  }
  -(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
  {
  UIView *headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.bounds.size.width, 75)];
  UILabel *headerTitile =[[UILabel alloc]initWithFrame:CGRectMake(20, -5, tableView.bounds.size.width-20, 75)];
  headerTitile.text = [reverseOrder1 objectAtIndex:section];
  
  headerTitile.textColor = [UIColor whiteColor];
  headerTitile.TextAlignment=NSTextAlignmentCenter;
  [headerView addSubview:headerTitile];
  headerTitile.font = [UIFont fontWithName:@"Arial" size:16.0f];
  
  headerView.backgroundColor = [UIColor colorWithRed:48/255.0f green:119/255.0f blue:21/255.0f alpha:1];
  return headerView;
  }
  </code></pre>
  
  <p>I am getting like above image,i ant to hide the null value title headers.</p>