On an SCNScene you can easily set a background color using for example:
background.contents = UIColor.tertiarySystemGroupedBackground
However, some UIColor like the one in the example can have multiple appearances so when the user switches between light and dark mode the color automatically adapts. SceneKit however does not update it's value when the TraitCollection changes (the user switches the appearance).
So the question is, how can you let SceneKit properly switch it's value when the appearance changes?