I created my first app with iOS7 SDK, a "empty application" without Storyboard. The status bar is always over all other views. So I add this code :
if ([self respondsToSelector:@selector(edgesForExtendedLayout)])
self.edgesForExtendedLayout = UIRectEdgeNone;
But it changes nothing. My full code :
- (void)viewDidLoad
{
[super viewDidLoad];
if ([self respondsToSelector:@selector(edgesForExtendedLayout)])
self.edgesForExtendedLayout = UIRectEdgeNone;
UIView *v = [[UIView alloc] initWithFrame:CGRectMake(30, 0, 200, 300)];
[v setBackgroundColor:[UIColor greenColor]];
[self.view addSubview:v];
}