tags:

views:

3411

answers:

2

Is it possible to set the backgroundColor of a UITableViewCell in a grouped UITableView and maintain the rounded corners of the cells?

All of my attempts results in a loss of the rounded corners.

mike

+2  A: 

Unfortunately no. I believe the rounder corners are a background with the cell being transparent at the edges. When you try to use a custom color (or image) it draws over them.

Andrew Grant
+3  A: 

I asked the same question a few weeks ago, and you can see the valid answer here:

http://stackoverflow.com/questions/400965/how-to-customize-the-background-border-colors-of-a-grouped-table-view

It is indeed possible and the provided source code works great.

jpm