可能重复:
adding images to UItableView
我想在左侧的uitableview中添加图像如何添加?

最佳答案

试试这个,

UIImageView *backgroundCellImage=[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 768, 80)];

    backgroundCellImage.image=[UIImage imageNamed:@"ImageName.png"];

[cell.contentView addSubview:backgroundCellImage];
[backgroundCellImage release];

07-26 09:30