Set background color of UITableView section header to white and make it opaque
<p>I've tried every solution proposed by the community for the background color problem of tableview section headers so I'm now reaching out for help. 
I have custom section headers that float (plain style of the table view) and I'd like each header to be displayed on top of the rows. When I scroll the table view, the header background is transparent, and it shows the content of the scrolling row. In order for this to stop, I've tried the following:</p>

<pre><code>    -(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
TableHeader *header = [tableView dequeueReusableHeaderFooterViewWithIdentifier:@"TableHeader"];
header.event = [events objectAtIndex:section];
[header.contentView setBackgroundColor:[UIColor whiteColor]];
[header.contentView setOpaque:YES];
[header drawHeader];
return header;
}
</code></pre>

<p>Nothing changes, and the header is still transparent. Has anyone faced that problem?</p>