1.只设置了背景图片,却忘记了取消掉 cell 的背景颜色(可以通过层次结构来观察)

    UIImageView *bgView = [[UIImageView alloc]initWithFrame:self.bounds];

    bgView.image = [UIImage imageNamed:@"goddess_menu_bg"];

    self.backgroundView = bgView;

2.应在创建 cell 时添加一句,

        cell.backgroundColor = [UIColor clearColor];

相关文章:

  • 2021-05-18
  • 2021-04-21
  • 2021-09-19
  • 2021-12-21
  • 2021-08-05
  • 2021-12-12
  • 2021-11-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-07-22
  • 2021-07-10
  • 2022-02-11
  • 2022-12-23
相关资源
相似解决方案