How do I modify the background color of an empty UITableViewCell object based on it's position?
<p>I'm trying to write code to modify the background color of a cell based on it's position in the table.  While the following code 'works', it only effects cells that are passed to it.  Empty cells don't get effected.</p>

<pre><code>- (void)tableView: (UITableView*)tableView willDisplayCell: (UITableViewCell*)cell forRowAtIndexPath: (NSIndexPath*)indexPath
{
    if(!indexPath.row%2)
    {
        cell.backgroundColor = [UIColor colorWithRed: 0.0 green: 0.0 blue: 1.0 alpha: 1.0] ;
        NSLog(@"Blue");
    }
    else{
        cell.backgroundColor = [UIColor whiteColor];
        NSLog(@"white");
    }
    cell.textLabel.backgroundColor = [UIColor clearColor];
    cell.detailTextLabel.backgroundColor = [UIColor clearColor];
}
</code></pre>

<p>How can I effect the rest of the cells that are displayed, if empty, when there are few items in the list?</p>
