1
我正在設置UITableViewCell的背景,不管出於什麼原因它都不會出現。設置UITableView單元格的背景視圖
cell.textLabel.numberOfLines = 0;
cell.textLabel.font = [UIFont fontWithName:@"Arial" size:15];
cell.textLabel.text = [[_comments objectAtIndex:indexPath.row] text];
((UIImageView *)cell.backgroundView).image = [UIImage imageNamed:@"bubble.png"];
cell.imageView.image = [UIImage imageNamed:@"user.png"];
return cell;
一切但的cell.backgroundView
作品。難道我做錯了什麼?