title: Some Gap  remains between Table Top and Table Header only when table loads and scrolled down to the last row?
body: <p>Edit: It works fine, But still when the table get Loads Some gap remains between table top and table header abt 30 pxcls(or 1 row) ..? </p>
  
  <p>Please help....</p>
  
  <p>I am scrolling it works fine. All the table rows are scrolling and table header is fixed.
  But when I scroll to end of the table it looses its property of fix. I mean is boundry scrolling.  I want to freeze it absolutely. At the boundary condition it looses the top position of the table and slides about 20 pxcls.</p>
  
  <pre><code>//Header Format starting
  - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
  {
      return 20.0;
  }
  
  - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section     
  {
      if (tableView.tableHeaderView) { // header was already created... go away
          return tableView.tableHeaderView;
      }
  
      CGFloat width = 300.0f;
      CGRect rectArea = CGRectMake(10.0f, 5.0f, width, 25.0);
  
      tableView.tableHeaderView = [[[UIView alloc] initWithFrame:rectArea] autorelease];
  
      //UIColor *orange =  [UIColor colorWithRed:(255.0f/255.0f) green:(228.0f/255.0f) blue:0.0f alpha:1.0f];
  
      [tableView.tableHeaderView setBackgroundColor:[UIColor grayColor]];
  
      rectArea = CGRectMake(02.0f, 1.0f, width, 20.0);
      UILabel *lbl = [[UILabel alloc] initWithFrame:rectArea];
      lbl.text = NSLocalizedString(@"Bill Total", @"");
      lbl.textAlignment = UITextAlignmentLeft;
      //lbl.font = [UIFont systemFontOfSize:13.0f];
      lbl.font = [UIFont fontWithName:@"Courier New" size:14];
      lbl.font=[UIFont italicSystemFontOfSize:14];
      lbl.textColor = [UIColor blackColor];
      lbl.backgroundColor = [UIColor clearColor];
      lbl.numberOfLines = 2.0f;
      lbl.lineBreakMode = UILineBreakModeWordWrap;
      //[lbl sizeToFit];
  
      [tableView.tableHeaderView addSubview:lbl];
      [lbl release];
  
      // self.table.tableHeaderView.layer.cornerRadius = 6.0f;
  
      return table.tableHeaderView;
  }
  </code></pre>