viewForHeaderInSection - create header that would display properly in all cases
Posted
by
sha
on Stack Overflow
See other posts from Stack Overflow
or by sha
Published on 2011-01-03T03:25:12Z
Indexed on
2011/01/11
13:53 UTC
Read the original article
Hit count: 170
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?
© Stack Overflow or respective owner