Xcode UITableView Cells Are Not Transparent Anymore

The UITableView has change in iOS 7, the transparent is turned off, well the cell’s background has a color (white) now. So the background is not visible anymore, resulting in an unwanted tableview look.

To fix this set the cell’s background to clearColor in the cellForRowAtIndexPath

– (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath


cell.backgroundColor = [UIColor clearColor];

// Set the selected- and backgroundview

// cell.backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@”Up.png”]];

//cell.selectedBackgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@”Down.png”]];


This is the fix for iOS 7 and will clear the backgroundcolor.

Posted in ErrorFix, Mac Tagged with: ,