In my application, I use the Grouped style for the TableView. In that I want to customize the cell selection. Style.I want the selection style to be red.
I use the following code for this:
UIView *bgColorView = [[UIView alloc] init]; [bgColorView setBackgroundColor:[UIColor redColor]; [cell setSelectedBackgroundView:bgColorView]; [bgColorView release];
Using the code above. I have a problem. Since I took the grouped stylesheet into the selection of the first and last lines, the selection appears with the sharp edge of the rectangle instead of turning around the Corners.
Can anyone help me on this. Thanks at Advance.
source share