Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change color of accessoryType Swift

Tags:

I'd like to change the color of my cell accessoryType from blue to white. The textColor is already set to white. Does someone of you guys know how to do this?

My Code:

cell!.accessoryType = UITableViewCellAccessoryType.Checkmark

like image 615
horst Avatar asked Apr 04 '15 21:04

horst


1 Answers

You can set your UITableViewCell tintColor property to the desired color:

[cell setTintColor:[UIColor whiteColor]]; 
like image 140
OscarVGG Avatar answered Oct 21 '22 17:10

OscarVGG