Change color of accessoryType Swift

Doesn't work for .disclosureIndicator ?

If someone is here looking for "How to change color for .disclosureIndicator indicator type".

The answer is you can't. BUT:

There is a way. Apply a custom image:

let chevronImageView = UIImageView(image: "disclosureIndicatorImage"))
accessoryView = chevronImageView

Additional supporting links:

The image can be downloaded from here. How to change color of the image is here.


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

[cell setTintColor:[UIColor whiteColor]];