1、在info.plist中添加如下配置
或者是<key>UIViewControllerBasedStatusBarAppearance</key>
本文介绍如何在iOS应用中配置状态栏样式为浅色。主要步骤包括:在info.plist文件中添加UIViewControllerBasedStatusBarAppearance配置项,并在General->Deployment Info中设置StatusBarStyle为Light。
或者是<key>UIViewControllerBasedStatusBarAppearance</key>
520
1102

被折叠的 条评论
为什么被折叠?