Last active
October 22, 2024 07:17
-
-
Save iccir/72574fafc98c1a86abf982c151730739 to your computer and use it in GitHub Desktop.
iOS Simulator Status Bars
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
# iPhone with home button | |
xcrun simctl status_bar booted clear | |
xcrun simctl status_bar booted override \ | |
--time "9:41 AM" \ | |
--wifiBars 3 --cellularBars 4 --operatorName "" | |
xcrun simctl spawn booted defaults write com.apple.springboard SBShowBatteryPercentage 1 | |
# iPhone X | |
xcrun simctl status_bar booted clear | |
xcrun simctl status_bar booted override --time "9:41" --wifiBars 3 --cellularBars 4 | |
# iPad | |
# Note: Unlike apple.com, we hide the date on all screenshots | |
xcrun simctl status_bar booted clear | |
xcrun simctl status_bar booted override --time "9:41 AM" --wifiBars 3 --wifiMode active | |
xcrun simctl spawn booted defaults write com.apple.springboard SBShowBatteryPercentage 1 | |
xcrun simctl spawn booted defaults write com.apple.UIKit StatusBarHidesDate 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment