Define the cell's accessory colors is possible:
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
{
guard let cell = tableView.dequeueReusableCell(withIdentifier: "myCell", for: indexPath) as? MyCell
else {fatalError("Could not dequeue a cell")}
// cell.accessoryType = UITableViewCell.AccessoryType.disclosureIndicator // >
cell.accessoryType = UITableViewCell.AccessoryType.detailDisclosureButton // (i) >
// cell.accessoryType = UITableViewCell.AccessoryType.checkmark // v
// cell.accessoryType = UITableViewCell.AccessoryType.detailButton // (i)
cell.backgroundColor = .green
cell.tintColor = .red
}But in any case the chevron only remain gray.
Is it a bug or there is a reason for that?
I could not find a good reason for it ; notably because you can set the color of the ℹ button, why not the disclosure ? In addition, if background cell is gray, it would be quite invisible ; so that really seems to be a missing feature (not to say a bug).
Once again, if you create an image, make it template, otrherwise it is really painfull to create an image for each color !