UISwitch.appearance().onTintColor stopped working since Xcode 12.0.1

Hello,

When recently updating to the latest xcode, all my UISwitch changed to use the default color.

Basically it means that this doesn't seem to work anymore: UISwitch.appearance().onTintColor = Color.red

I can't find a reference to any change.

Thanks
UISwitch.appearance().onTintColor stopped working since Xcode 12.0.1
 
 
Q