I'm using iPhone simulator for my development and most of the ui components are written using swift. Is there an easy way to switch between dark mode and light mode for testing purpose?
I find the enabling and disabling dark mode from settings very time consuming. This shortcut will expedite my testability of both dark mode and light mode.
I've just recently stumbled upon it. Great way to switch between modes. Hope it helps:
CMD+SHIFT+A
Switch iPhone Simulator to Dark mode while you inside another app on the simulator go to.
Features => Toggle Appearance
and you can also by default shortcut on your keyboard
CMD+SHIFT+A
or you can go to device Settings => Developer => Toggle Dark Mode
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