Search code examples
iosuikitios-darkmode

iOS13 Dark Mode Disclosure Indicator: Not readable


I have custom UITableView where I set the background color to white. This works for dark and bright mode. But on dark mode the disclosure indicators are hard to see.

I tried to fix this with cell.tint color but it doe not work. How can I fix it?

Dark Mode:

enter image description here

Bright Mode:

enter image description here


Solution

  • If you want the table view to always be light, regardless of the system setting, you should consider to set overrideUserInterfaceStyle = .light in your table view or view controller to force the system to always use light style colors.