This is a part of me trying to get used to working with XCode4…
OK, so i’ve created a new project in XCode 4 and I used the View Based Application template; I wish to build the new app as Apple intended me to use this template.
So I’m using the automatically-created-view-controller which is called from the AppDelegate (so far I haven’t touched anything). Now, I want to remove the STATUS BAR. As far as I understand, what I should do, is go to the view XIB and in the Attributes Inspector set the Status Bar field to None (this is how I used to do it so far), but mercilessly when I run the application the STATUS BAR is still there (!).
I also tried to do the same thing on the mainWindow.xib file (the setting the STSTUS BAR attribute to None thing) and the app runs with this bar that blocks my view…
Anyone?

If you read the “header” you will see “Simulated metrics”. Those properties are only to simulate visual elements when you lay out your code with interfacebuilder.
If you do it in the Application Delegate you write:
in this method:
EDIT
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIApplication_Class/Reference/Reference.html#//apple_ref/occ/instm/UIApplication/setStatusBarHidden:withAnimation:
Requested in comment, from documentation:
So if you are not interested in the animation part I suggest using this: