UITableView图像在左侧[复制](UITableView image on the left hand side [duplicate])
可能重复: 将图像添加到UItableView
我想在左边的UITableView中添加图像,我怎么能添加它?
Possible Duplicate: adding images to UItableView
I want to add image in UITableView in the left hand side how could I add it?
最满意答案
尝试这个 ,
UIImageView *backgroundCellImage=[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 768, 80)]; backgroundCellImage.image=[UIImage imageNamed:@"ImageName.png"]; [cell.contentView addSubview:backgroundCellImage]; [backgroundCellImage release];Try This ,
UIImageView *backgroundCellImage=[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 768, 80)]; backgroundCellImage.image=[UIImage imageNamed:@"ImageName.png"]; [cell.contentView addSubview:backgroundCellImage]; [backgroundCellImage release];更多推荐
发布评论