【发布时间】:2019-09-27 14:39:41
【问题描述】:
从 iOS 13 开始,SimulatorStatusMagic 不再有效,但很高兴 Apple 通过 simctl status_bar 提供了第一方解决方案。
但是我找不到任何方法来删除或更改“运营商”文本:
设置--cellularMode notSupported 会删除它,但它也会删除蜂窝条。
有没有什么方法可以重现 SimulatorStatusMagic 以前的功能并仅删除或更改运营商名称?
编辑: Xcode 11.4 包含一个用于设置操作员名称的新参数,尽管它似乎不起作用。该文档提供以下内容:
--operatorName <string>
Set the cellular operator/carrier name. Use '' for the empty string.
【问题讨论】:
-
是的,即使 Apple 将其隐藏在 App Store 的屏幕截图中,它也没有显示:/ 它们也显示电池百分比,这对于 simctl status_bar 也是不可用的。
标签: xcode ios-simulator xcrun