ShotFast

Docs

Clean status bars in the iOS Simulator and Android emulator

Store screenshots look better with a calm status bar: 9:41, full battery, full signal, no notification icons. Set it at the source with these commands, then drop the captures into the editor.

iOS Simulator

Xcode's simctl can override the status bar of a booted simulator. Run this with the simulator open:

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

Use a device UDID instead of booted if several simulators are running (xcrun simctl list devices booted lists them). Wi-Fi bars go from 0 to 3 and cellular bars from 0 to 4. Run xcrun simctl help status_bar to see every option your Xcode version supports.

Capture straight to a file:

xcrun simctl io booted screenshot ~/Desktop/screen.png

Reset when you are done. The override also disappears when the simulator restarts, so run it again after a reboot.

xcrun simctl status_bar booted clear

Android emulator and devices

Android's System UI has a demo mode for exactly this. Enable it once per device, enter it, then set each part of the status bar:

# once per device (allows demo mode)
adb shell settings put global sysui_demo_allowed 1

# enter demo mode
adb shell am broadcast -a com.android.systemui.demo -e command enter

# clock 09:41, full wifi and mobile signal, full battery, no notifications
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

The clock takes hhmm without a colon. Signal levels go from 0 to 4, and datatype none hides the network type label. Capture with:

adb exec-out screencap -p > screen.png

Leave demo mode afterwards:

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

These commands follow the SystemUI demo mode documentation in the Android Open Source Project. Some manufacturer skins ignore parts of demo mode; a stock emulator image always supports it.

Both at once

Save this as clean-status-bars.sh, make it executable with chmod +x, and run it before a capture session:

#!/usr/bin/env bash
# clean-status-bars.sh: tidy status bars on the booted iOS Simulator and the connected Android device.
set -euo pipefail

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

if command -v adb >/dev/null && 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

No terminal? Use the editor

If you already have screenshots with a messy status bar, turn on Clean status bar in the editor. It paints a tidy bar (9:41, full battery and signal) over iOS and Android screenshots, matched to the detected device size and to light or dark content. You can also drop a batch of simulator screenshots into App Store mode to get one slide per image.

More detail and gotchas in the guide Clean status bars in the iOS Simulator and Android emulator.