Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem with UITableView clear color

I have a tableview in grouped style. When I set the tableview background color to clear color then I see dark black corners around the tableview. Is there a way to solve this problem and remove those dark corners?

Any help would be appreciated.

like image 661
Ideveloper Avatar asked Dec 29 '22 02:12

Ideveloper


1 Answers

Along with using clearColor, use the following:

[tableView setBackgroundView:nil];
[tableView setBackgroundColor:[UIColor clearColor]];
[tableView setOpaque:NO];
like image 183
WrightsCS Avatar answered Jan 13 '23 06:01

WrightsCS