How to bring back the Status Bar in iOS 6 when compiling with Xcode 5

Xcode 5 has more than a few annoying habits. One of them is that the status bar disappears when you run your app under iOS 6, if the option “Hide Status Bar during launch” is checked. On iOS 7 it correctly hides the status bar during launch, but under iOS 6 it’s gone for good.

Screen Shot 2013-11-16 at 09.35.26

All we have to do to correct this idiosyncratic behaviour is add one line of code to our AppDelegate.m file, in the didFinishLaunchingWithOptions method:

Now the status bar shows up in the app, and is hidden as the description says, on both iOS 6 and iOS 7.

About Jay Versluis

Jay is a medical miracle known as a Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

Add your voice!