我只有我的iPhoneX有这个问题,如上图所示,在右上角,信号图标的左侧我们可以看到4个点。
我认为我没有为该部分提供设置和自动布局。我只在appdelegate中给出这段代码,以使信号、时间和电池图标变成白色
在应用程序委托中
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// to make status bar in the light mode (in info.plist it also has to be set 'View controller-based status bar appearance' to NO)
UIApplication.shared.statusBarStyle = .lightContent
return true
}
我想去掉那4个点,该怎么做?
其实这不是问题。这通常是显示蜂窝信号强度的地方。如果您没有任何信号,它只会显示四个点,如此处提到。