Change color on checkmark in UITableView

后端 未结 15 2240
故里飘歌
故里飘歌 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:30

    I always used this easy way:

    UITableViewCell *cell = ...;
    cell.tintColor = [UIColor greenColor];
    cell.accessoryType = UITableViewCellAccessoryCheckmark;
    

提交回复
热议问题