My UITableViewCell is being transparent when it's not supposed to be. My table view has a background color and it shows through the table cell, even though they're supposed to be opaque. I'm not sure why this is.
Relevant code:
UITableViewCell *cell = [table dequeueReusableCellWithIdentifier:emptyIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:emptyIdentifier] autorelease];
}
cell.textLabel.text = @"Empty";
cell.textLabel.textAlignment = UITextAlignmentCenter;
cell.textLabel.backgroundColor = [UIColor whiteColor];
return cell;