【问题标题】:iOS6 Cell Text BackgroundColoriOS6 单元格文本背景颜色
【发布时间】:2012-12-21 09:47:56
【问题描述】:

在我的 tableView 单元格中,我的文本上有一个背景色,我不知道如何删除它。有人可以帮我吗?

我试过了

cell.backgroundColor = [UIColor clearColor];
cell.opaque = NO;

但不工作

【问题讨论】:

    标签: text ios6 tableview cell background-color


    【解决方案1】:

    你试过了吗:

    cell.textLabel.backgroundColor = [UIColor clearColor];
    cell.textLabel.opaque = NO;
    

    和:

    cell.detailTextLabel.backgroundColor = [UIColor clearColor];
    cell.detailTextLabel.opaque = NO;
    

    【讨论】:

      猜你喜欢
      • 2022-12-12
      • 2015-11-29
      • 1970-01-01
      • 2022-01-20
      • 2014-10-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多