Set background color based on group

how can I set the background color as a grouped table to clear the color to get the image of the base image. I tried to set the color of the view to clear the view in xib, it works fine in case of a normal table view but doesn’t work for viewing grouped tables I also tried this programmatically, but is there any kind of work around

+4
source share
1 answer

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

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

Thanks..

+10
source

All Articles