I have set up different backgrounds for 'Light/Dark Appearance'
But when switching between Light/Dark mode within Xcode, my background always uses image from 'Any/Light Appearance'. Only colours set for icons changes accordingly.
FYI: I'm switching between Light/Dark mode using Interface Style option.
Can someone please advice what I'm missing on? It's all new to me.
To enable dark mode on a Simulator, go to Settings → Developer and toggle Dark Appearance.
You can opt dark mode as per UIViewcontroller or UIView by setting overrideUserInterfaceStyle property to dark otherwise in Xcode 11 the by default it is dark.
iOS Simulator can toggle between light and dark mode with ⌘ - command + ⇧ - shift + a shortcut. Views from both view controllers change simultaneously.
I think it is an Xcode bug. You can confirm it by changing your setting in the iOS Simulator.
Go to Settings -> Developer -> Dark Appearance
I think you might need to uncheck the Resizing checkbox and set the Scales property to Single Scale. It worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With