1

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.

Atulkumar V. Jain
  • 5,102
  • 9
  • 44
  • 61
tipsywacky
  • 3,374
  • 5
  • 43
  • 75

3 Answers3

1
[tblView.layer setCornerRadius:0.0f];
Rinju Jain
  • 1,694
  • 1
  • 14
  • 23
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