For the grouped UITableViewCell
, I realized that if you set a background, there will be rounded corner at the top and bottom cell. But when you click it, it will show you the rounded corner at the selected state.
Asked
Active
Viewed 519 times
1

Atulkumar V. Jain
- 5,102
- 9
- 44
- 61

tipsywacky
- 3,374
- 5
- 43
- 75
-
i just used some simple code like [tableItems setbackground:[UIImage imageNamed:@"photo"]]; – tipsywacky Jul 12 '12 at 09:40
3 Answers
1
[tblView.layer setCornerRadius:0.0f];

Rinju Jain
- 1,694
- 1
- 14
- 23
-
this gives tableView corner radius. Not cell though. but thanks anyway. – tipsywacky Jun 13 '12 at 12:04
-
Why did you accept this answer if it's not the correct answer to your problem ? – Daniel Mar 21 '13 at 15:46
1
Then go for Creating Sections,it will create what you want,each and every cell with round radius at top and bottom.

Dhruv
- 2,153
- 3
- 21
- 45
1
set the tableview's background color through code. For example: [tableView setBackgroundColor:[UIColor redColor]];

spaleja
- 1,435
- 15
- 24