更新时间:2023-01-06 10:59:10
转到 info.plist 并添加两个属性(如果不存在).将状态栏最初是隐藏的"设置为 YES
并将 UIViewControllerBasedStatusBarAppearance
设置为 NO
.这将隐藏您的应用的状态栏.
Go to info.plist and add two attributes if not present. set "Status bar is initially hidden" to YES
and set UIViewControllerBasedStatusBarAppearance
to NO
. This will hide status bar for your app.