views:

123

answers:

1

Hello all,

i have a table view in my application which shows rounded corners by default.

Is there any way to remove the rounded corners.

I have #import <QuartzCore/QuartzCore.h> in place and included the frame work as well.

eve the following code does not work

 self.clipsToBounds = NO;
 self.table.layer.cornerRadius = 0.0;

can any one suggest a solution?

Thanks in advance

+2  A: 

Are you using UITableViewStyleGrouped on your table view? If so change the style to UITableViewStylePlain and the cells will be rectangulars without rounded corners.

RaYell