I have an interesting problem/question and i’m not sure if it is even doable. So I have a custom header view for regular UITableView. But it’s transparent and it doesn’t fill fill table width. So it displayed properly when table is scrolled and this header view is displayed above cell content (sticked to the top). But when same header is displayed between two sections down – it looks ugly, because it’s transparent and it’s either displayed above black rectangle or above table background.
I was wondering is there way to customize header view for when it’s stick to the top and when it’s not. Or… may be it’s possible to specify what needs to be displayed underneath header view when it’s between sections. Something like sectionSeparatorView?

Basically the best solution for my problem was to define some kind of background for the UITableViewController. It was provided in comments to the original post, and unfortunately author didn’t put it as separate answer so I could not award bounty to him.