Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set Grouped table view background colour

how can i set the background color of a grouped table view to clear color so that is get the image of the underlying Image View. i tried to set the view color to clear view in the xib it works fine in case of a normal table view but doesnt work for a grouped table view i also tried it programmatically but in vain is there any work around

like image 594
Nitesh Avatar asked Dec 27 '22 13:12

Nitesh


1 Answers

Check this code for clear the background color of grouped table view..

UIView *backView = [[UIView alloc] init];
[backView setBackgroundColor:[UIColor clearColor]];

[yourTableView setBackgroundView:backView];

Thanks..

like image 142
Raj Avatar answered Feb 13 '23 18:02

Raj