Last active
April 8, 2024 18:36
-
-
Save alexkaessner/c41a74c2a1ab7bcc405ea39d7884e4ce to your computer and use it in GitHub Desktop.
Customize iOS Simulator Status Bar (Xcode 11+)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ xcrun simctl status_bar booted override --time "9:41" --batteryState charged --batteryLevel 100 --cellularMode active |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use Terminal to set the Status Bar of all booted Simulator devices to the most common variables.
Note
There used to be a bug with this command since iOS 16.1. As noted in the Apple Dev Forums, this bug is finally fixed with Xcode 15.3 (and xcrun 68).