tableview中更改cell的选中颜色
2018-03-15 本文已影响10人
Desmond_
cell?.selectedBackgroundView = UIView()
cell?.selectedBackgroundView?.backgroundColor = UIColor.red
cell?.selectedBackgroundView = UIView()
cell?.selectedBackgroundView?.backgroundColor = UIColor.red