Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a keyboard shortcut to switch between dark mode and light mode in iPhone simulator?

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.

like image 490
Gowrish Giridharan Avatar asked Jan 23 '20 20:01

Gowrish Giridharan


2 Answers

I've just recently stumbled upon it. Great way to switch between modes. Hope it helps:

CMD+SHIFT+A

like image 77
leoleljak Avatar answered Oct 09 '22 01:10

leoleljak


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

Simulator Shortcut

like image 31
Balalen Avatar answered Oct 09 '22 02:10

Balalen