UITableViewCell Selected Background Color on Multiple Selection

后端 未结 14 1008
夕颜
夕颜 2020-12-08 04:26
// Doesn\'t work
cell.selectionStyle = .Blue
//Works when the selection is not multiple, if it\'s multiple with each selection the previous one disappear...
let cell         


        
14条回答
  •  自闭症患者
    2020-12-08 04:46

    You can also set cell's selectionStyle to.none in interface builder. The same solution as @AhmedLotfy provided, only from IB.

提交回复
热议问题