【问题标题】:Setting reorder icon to be transparent UITableViewCells - moverowat function将重新排序图标设置为透明 UITableViewCells - moverowat 函数
【发布时间】:2017-12-28 20:05:19
【问题描述】:

有没有办法将重新排序的图标设置为透明? 这是该问题的屏幕截图。

Cell 有一个视图,它以这种灰色作为背景

【问题讨论】:

  • 在行的单元格中,使用这个cell.selectionStyle = .None
  • 你检查过这个解决方案了吗? stackoverflow.com/a/3484566/2618071如果你的背景颜色已经设置好了,那么你可以检查一下AccessoryView的背景颜色
  • cell.selectionStyle = .None 不起作用感谢您的尝试,感谢该文章 id 解决了我的问题

标签: ios swift uitableview


【解决方案1】:
cell.contentView.superview.backgroundColor = UIColor.clear

感谢@Toldy 解决了我的问题

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-11-03
    • 2011-08-27
    • 1970-01-01
    • 2011-02-12
    • 2010-11-22
    • 2013-04-18
    • 1970-01-01
    相关资源
    最近更新 更多