status_bar_clear
Clear all previously applied status bar overrides on an iOS simulator, restoring the status bar to its default dynamic behavior. The time, battery, network indicators, and carrier name will return to reflecting the simulator’s actual state.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
deviceId | string | Yes | — | The UDID of the target simulator (must be booted). |
Usage Examples
Section titled “Usage Examples”Clear status bar overrides
Section titled “Clear status bar overrides”“Reset the status bar back to normal”
{ "deviceId": "F3A1B2C3-D4E5-6789-ABCD-EF0123456789"}Clear after taking App Store screenshots
Section titled “Clear after taking App Store screenshots”“I’m done with the screenshots, restore the status bar to defaults”
{ "deviceId": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890"}Example Output
Section titled “Example Output”Status bar overrides cleared.Device: iPhone 16 Pro (F3A1B2C3-D4E5-6789-ABCD-EF0123456789)Related Tools
Section titled “Related Tools”status_bar_override— Override status bar values for screenshots or testingsimulator_list— Find simulator UDIDs for thedeviceIdparameter