从iPhone应用程序隐藏状态栏 [英] Hide Status Bar from iPhone application

查看:177
本文介绍了从iPhone应用程序隐藏状态栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我的应用根本没有状态栏!我尝试过使用.plst



我在这里尝试过所有内容状态栏不会消失
以及此处

有人能非常详细地帮助我吗?如果有帮助,我正在使用XCode 5。我只想让状态栏从应用程序中消失!
谢谢!

iOS 7



在Info.plist文件中添加密钥查看基于控制器的状态栏外观,其值为。并且,添加键状态栏最初隐藏,其值为


I want my app to not have the status bar at all! I have tried using the .plst

I have tried everything in here Status bar won't disappear and also in here How to prevent iOS 5 from showing the status bar even though UIStatusBarHidden is YES?

Can someone go into extreme detail to help me? I am using XCode 5 if that helps. I just want the status bar to be gone from the app! Thanks!

解决方案

iOS 7

In your Info.plist file add key View controller-based status bar appearance with value NO. And, add key Status bar is initially hidden with value YES.

这篇关于从iPhone应用程序隐藏状态栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆