Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the white background of UITableViewCell

Tags:

iphone

I want to remove the default white background of UITableViewCell like I want the background of the cell being transparent so that it shows the actual background of the window.

like image 852
rkb Avatar asked Aug 26 '09 16:08

rkb


1 Answers

I Got it.

UIView *backView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
backView.backgroundColor = [UIColor clearColor];
cell.backgroundView = backView;
like image 119
rkb Avatar answered Oct 19 '22 23:10

rkb