我使用 willDisplayCell 委托方法向 UITableViewCell 显示自定义背景图像。
- (void)tableView:(UITableView *)tableView 
           willDisplayCell:(UITableViewCell *)cell 
           forRowAtIndexPath:(NSIndexPath *)indexPath {
    static UIImage* bgImage = nil;
    if (bgImage == nil) {
        bgImage = [UIImage imageNamed:@"myImage.png"];
    }
    cell.backgroundView = [[UIImageView alloc] initWithImage:bgImage];
}
当我在模拟器中运行应用程序时,仅更改了绘制单元格的背景,有没有办法更改所有单元格的背景?