Change color on checkmark in UITableView

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

    Starting iOS 7 you could set the tint color of your view controller's view so that this tint colow will be propageted to all it's child views. So to set your UITableViewCell's checkmark as purple color (for example), in your viewWillAppear method you need to:

    [self.view setTintColor:[UIColor purpleColor]];
    

提交回复
热议问题