title: UITableViewStyleGrouped with headers for Grouped AND Plain
body: <p>I subclassed UITableViewController and set a UITableView with GroupedStyle as it's subview. When I run my project in the Simulator the section headers appear twice: In GroupedStyle and in PlainStyle. Does anyone have an idea why this is happening? I've attached the functions that I believe could be the culprits below.</p>
  
  <p><img src="https://i.stack.imgur.com/FBeh4.png" alt="2 section headers in Simulator"></p>
  
  <pre><code>- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
  {
  self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
  [self setup];
  self.title=@"Literature";
  UITableView *tableview = [[UITableView alloc]initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
  tableview.scrollEnabled=NO;
  tableview.delegate=self;
  tableview.dataSource=self;
  [self.view addSubview:tableview];
  [tableview release];
  return self;
  }
  
  -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
  NSInteger inte=2;
  switch (section) {
      case 0:
          inte=2;
          break;
      case 1:
          inte=4;
          break;
  }
  return  inte;
  }
  
  -(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
  return 2;
  }
  -(NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section{
  NSString *temp;
  switch (section) {
      case 0:
          temp=@"Literature";
          break;
      case 1:
          temp=@"Online";
          break;
  }
  return temp;
  }
  </code></pre>