title: TableView Footer is scrolling with the table
body: <p>I just implemented a Load More button into the footer of my tableView, but the footer is always scrolling with the table. The style of my tableView is UITableViewStylePlain.</p>
  
  <p>Please could you tell me where I am going wrong. </p>
  
  <pre><code>- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
      UIView *footerView = nil;
      if(footerView == nil) {
          footerView  = [[[UIView alloc] init] autorelease];
          footerView.backgroundColor = [UIColor clearColor];
          UIButton *button = [[UIButton alloc] init];    
          button.layer.cornerRadius = 7;
          [button setFrame:CGRectMake(10, 3, 300, 44)];
          [button setTitle:@"Load 20 more" forState:UIControlStateNormal];
          [button.titleLabel setFont:[UIFont boldSystemFontOfSize:20]];
          [button setBackgroundColor:[UIColor whiteColor]];
          [button.titleLabel setTextColor:[UIColor blackColor]];
          [button addTarget:self action:@selector(load20More) forControlEvents:UIControlEventTouchUpInside];
          [footerView addSubview:button];
          [button release];
      }
      if ([songInfo count] &gt; 20 &amp;&amp; count &lt; 100) {
          return footerView;
      }
      else
          return nil;
  }
  </code></pre>