Question About Gold Challenge


#1

So when we set the BackgroundView of the tableView, it is not going to show through the cells, right? I mean, I can scroll the table around and see the background back there behind it, but the cells are all opaque white. Is the challenge considered completed then?


#2

Hey PneumaPilot, you can see your background image if you change the background color of each cell to clear in your tableView:cellForRowAtIndexPath: method like so:

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    ...your cell initialization code...

    cell.backgroundColor = [UIColor clearColor];

    return cell;
}

Also, make sure your background image isn’t white so you can actually see it! (That’s what I forgot to do :laughing:)

Cheers,
David