How to Toggle Dark Mode on iOS Simulator

Updated: August 26, 2022 By: A Goodman Post a comment

This article shows you a few ways to turn on or off the dark mode on an iOS simulator.

Change Developer Settings

This approach is simple and doesn’t require you to remember any command. Everything you need to do is to go to Settings > Developer and toggle the Dark Appearance switch as shown below:

Using Hotkeys

Using hotkeys is quick and convenient. Pressing Command + Shift + A will help you switch between light and dark mode in the blink of an eye.

You can also get the same result by selecting Features > Toggle Appearance.

Using Terminal Commands

It’s possible to activate dark mode on your iOS simulator by using the following command:

xcrun simctl ui booted appearance dark

To change to light mode, run this:

xcrun simctl ui booted appearance light

Demo:

Final Words

We’ve gone through more than one method to use dark mode on iOS simulators. In order to get everything to work properly, you should update to one of the latest versions of Xcode and run your simulator with a recent version of iOS as well.

If you’d like to explore more about mobile development, take a look at the following articles:

You can also check out our Flutter category page, React Native category page, or mobile category page for the latest tutorials and examples.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments