本文介绍了在任何应用中使用info.plist隐藏状态栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了澄清,我不是试图在我自己的应用程序上执行此操作,因此我无法访问源代码。我正在尝试编辑info.plist或我设备上已安装.app文件中的任何其他文件,以从应用中删除状态栏,即Google Chrome

To clarify, I'm not trying to do this on my own app, so I don't have access to the source code. I am trying to edit info.plist or any other files in the installed .app file on my device to remove the status bar from an app, namely Google Chrome

我'我试图在Google Chrome上隐藏状态栏。我添加了 UIViewControllerBasedStatusBarAppearance = false UIStatusBarHidden = true info.plist ,但所有得到我的都是一个灰色条,状态栏曾经是。很近!

I'm trying to hide the statusbar on Google Chrome. I added UIViewControllerBasedStatusBarAppearance = false and UIStatusBarHidden = true to info.plist, but all that got me was a grey bar where the status bar used to be. So close!

还有其他方法强制隐藏Chrome或iOS 7上的任何其他应用中的状态栏吗?

Are there any other ways to force hide the status bar in Chrome or any other app on iOS 7?

推荐答案

试试这个。

将此密钥添加到info.plist文件中

查看基于控制器的状态栏外观

View controller-based status bar appearance

将此值设置为: - 否

这篇关于在任何应用中使用info.plist隐藏状态栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-18 15:01
查看更多