Skip to content

Instantly share code, notes, and snippets.

@alexkaessner
Last active September 21, 2023 05:59
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alexkaessner/c41a74c2a1ab7bcc405ea39d7884e4ce to your computer and use it in GitHub Desktop.
Save alexkaessner/c41a74c2a1ab7bcc405ea39d7884e4ce to your computer and use it in GitHub Desktop.
customize iOS Simulator status bar (Xcode 11+)
$ xcrun simctl status_bar booted override --time "9:41" --batteryState charged --batteryLevel 100 --cellularMode active
@alexkaessner
Copy link
Author

alexkaessner commented Sep 17, 2019

Use Terminal to set the Status Bar of all booted Simulator devices to the most common variables.

Note: There seems to be a bug with this command since the iOS 16.1 Simulator. The command get’s ignored. Unfortunately I’m not aware of any workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment