Change color on checkmark in UITableView

后端 未结 15 2254
故里飘歌
故里飘歌 2020-12-07 22:31

Could someone be so kind to show me how to change the color on the checkmark in UITableView?

I have searched but don\'t seem to get it to work.

Cheers

15条回答
  •  暖寄归人
    2020-12-07 23:16

    If you are looking for a Swift version:

    Directly on the cell

    For example in tableView(_:,cellForRowAtIndexPath:)

    cell.tintColor = UIColor.redColor()
    

    Using the appearance protocol

    UITableViewCell.appearance().tintColor = UIColor.redColor()
    

提交回复
热议问题