本文介绍了在启动屏幕中隐藏状态栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
默认情况下,启动屏幕提供一个状态栏.是否可以像启动Twitter应用程序(iOS)一样在启动屏幕中隐藏状态栏.
By default the launch screen provides a status bar. Is it possible to hide the status bar in launch screen like a Twitter app ( iOS ).
推荐答案要最初在启动屏幕上隐藏状态栏,请在✓
To Hide Status Bar initially on launch screen, set Hide status bar check mark on ✓
OR
在您的信息列表中添加:Status bar is initially hidden YES.
In Your Info.plist add: Status bar is initially hidden YES.
以上两个选项都具有相同的影响.
The above both option having same impact.
另外
使用true
override var prefersStatusBarHidden: Bool{ return true }更多推荐
在启动屏幕中隐藏状态栏
发布评论