ShotFast

Clean status bars in the iOS Simulator and Android emulator

Set 9:41, full battery and signal, and hide notification icons before you capture: exact simctl and adb demo mode commands, a script for both, and common gotchas.

4 min read App StoreGuides

A screenshot with 23 % battery, a weak signal and three notification icons looks like a bug report, not a product. Store listings, landing pages and launch posts all look better with a tidy status bar: a neutral time, full battery, full signal and nothing else.

You can fix this after the fact, but it is faster and more accurate to fix it at the source. Both the iOS Simulator and the Android emulator have built-in ways to override the status bar. This guide gives you the exact commands, a script that does both, and the gotchas that waste the most time.

A shorter copy-paste version lives in the docs.

iOS Simulator: simctl status_bar

Xcode ships simctl, which can override the status bar of a running simulator. Boot the simulator first, then run:

xcrun simctl status_bar booted override \
  --time 9:41 \
  --batteryState charged \
  --batteryLevel 100 \
  --cellularBars 4 \
  --wifiBars 3 \
  --dataNetwork wifi \
  --cellularMode active

What each flag does:

FlagEffect
--time 9:41Fixed clock. Any string works, but 9:41 is the long-standing convention
--batteryState chargedShows a full, charged battery instead of charging or discharging
--batteryLevel 100Battery percentage
--cellularBars 4Full cellular signal (0 to 4)
--wifiBars 3Full Wi-Fi signal (0 to 3)
--dataNetwork wifiShows the Wi-Fi indicator
--cellularMode activeCellular is on and connected

To go back to the live status bar:

xcrun simctl status_bar booted clear

Targeting a specific simulator

booted means “the booted simulator”. If you have several running, it may not pick the one you expect. List devices and use the UDID instead:

xcrun simctl list devices booted
xcrun simctl status_bar 1A2B3C4D-0000-0000-0000-000000000000 override --time 9:41

Android emulator: SystemUI demo mode

Android has a “demo mode” in SystemUI that freezes the status bar into a predictable state. It is controlled with broadcasts over adb.

First, allow demo mode. You only need to do this once per device or emulator image:

adb shell settings put global sysui_demo_allowed 1

Then enter demo mode and set each part of the status bar:

adb shell am broadcast -a com.android.systemui.demo -e command enter
adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm 0941
adb shell am broadcast -a com.android.systemui.demo -e command network -e wifi show -e level 4
adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e datatype none -e level 4
adb shell am broadcast -a com.android.systemui.demo -e command battery -e level 100 -e plugged false
adb shell am broadcast -a com.android.systemui.demo -e command notifications -e visible false

To leave demo mode:

adb shell am broadcast -a com.android.systemui.demo -e command exit

A few notes on the values:

  • hhmm takes four digits. 0941 displays as 9:41 or 09:41 depending on the device’s clock format.
  • datatype none hides the “LTE” or “5G” label next to the signal bars.
  • notifications -e visible false hides notification icons; it does not dismiss the notifications themselves.

If more than one device is connected, add -s <serial> after adb (find the serial with adb devices).

One script for both

Save this as clean-status-bar.sh and run it before a capture session. It only touches the platforms whose tools are available.

#!/usr/bin/env sh
set -e

if command -v xcrun >/dev/null 2>&1; then
  xcrun simctl status_bar booted override \
    --time 9:41 --batteryState charged --batteryLevel 100 \
    --cellularBars 4 --wifiBars 3 --dataNetwork wifi --cellularMode active \
    && echo "iOS Simulator: status bar overridden"
fi

if command -v adb >/dev/null 2>&1 && adb get-state >/dev/null 2>&1; then
  demo() { adb shell am broadcast -a com.android.systemui.demo -e command "$@" >/dev/null; }
  adb shell settings put global sysui_demo_allowed 1
  demo enter
  demo clock -e hhmm 0941
  demo network -e wifi show -e level 4
  demo network -e mobile show -e datatype none -e level 4
  demo battery -e level 100 -e plugged false
  demo notifications -e visible false
  echo "Android: demo mode on"
fi

Make it executable with chmod +x clean-status-bar.sh. Add a matching reset script that runs status_bar booted clear and the demo mode exit broadcast, so you do not forget to restore normal behaviour while debugging.

Gotchas

The iOS override does not survive a restart. If you shut down or erase the simulator, run the override again. It does survive app relaunches.

Android demo mode must be re-entered after a reboot. The sysui_demo_allowed setting persists, but the demo state itself does not. Cold-booting the emulator resets it.

Some Android builds ignore parts of demo mode. Manufacturer skins on physical devices may not honour every command. The stock emulator images are the most reliable.

Screenshots taken with the device’s own shortcut may briefly show the real status bar. Capture with xcrun simctl io booted screenshot shot.png on iOS or adb exec-out screencap -p > shot.png on Android instead.

Dark and light content matter. The status bar text colour follows the screen under it. If you crop or recolour later, make sure it still has contrast.

When you cannot fix it at the source

Sometimes the screenshot already exists: it came from a teammate, a real device, or a bug tracker. Our editor has a clean status bar option for that case. It paints a status bar over the top of iOS or Android screenshots with 9:41, a full battery, full signal and no notification icons, matched to the detected device size and to light or dark content.

It works best on standard simulator sizes, where the status bar height is known. For unusual sizes, re-capturing with the commands above is still the cleanest result.

Putting it into a workflow

  1. Run the script once at the start of a capture session.
  2. Navigate to each screen and capture with simctl io or screencap.
  3. Drop all the screenshots into App Store mode at once; each image becomes its own slide.
  4. Add captions and a background, then export at the sizes the stores require. The size guide lists them.

With a clean status bar, the next thing reviewers and users notice is the content itself, which is exactly the point. Designing screenshots that convert covers what to put on each slide.