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?