simctl status_bar override

Set status bar override values, according to these flags. You may specify any combination of these flags (at least one is required)

Options

NameDescription
--timeSet the date or time to a fixed value. If the string is a valid ISO date string it will also set the date on relevant devices
--dataNetworkIf specified must be one of 'hide', 'wifi', '3g', '4g', 'lte', 'lte-a', 'lte+', '5g', '5g+', '5g-uwb', or '5g-uc'
--wifiModeIf specified must be one of 'searching', 'failed', or 'active'
--wifiBarsIf specified must be 0-3
--cellularModeIf specified must be one of 'notSupported', 'searching', 'failed', or 'active'
--cellularBarsIf specified must be 0-4
--operatorNameSet the cellular operator/carrier name. Use '' for the empty string
--batteryStateIf specified must be one of 'charging', 'charged', or 'discharging'
--batteryLevelIf specified must be 0-100