Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide Status Bar from iPhone application

Tags:

ios

iphone

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!

like image 489
Cameron Tarbell Avatar asked Feb 27 '26 20:02

Cameron Tarbell


1 Answers

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.

like image 72
LuisEspinoza Avatar answered Mar 01 '26 09:03

LuisEspinoza