How to make a section header with an non-rectangular shape without ugly underflow?

Posted by mystify on Stack Overflow See other posts from Stack Overflow or by mystify
Published on 2010-04-15T13:21:57Z Indexed on 2010/04/15 13:23 UTC
Read the original article Hit count: 187

Filed under:
|

I made an custom UITableView. Then I made a custom header for sections. It has round corners. But unfortunately, the rows of the section are visible in those round corners when the header floats over them.

I could just make a background color so the corners are not transparent. But that is not a solution since my whole table has a background image and the section header can move.

Is there any way to get the clipping region for the rows a little bit more downwards? I mean: They should not appear under that section header.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uitableview