View drawn under status bar <p>So i managed to load another view when someone presses a button ,but it loads it to high. `i don't know why this happens. The difference is exactly the top bar hight. This is my code: In the delegate i have:</p> <pre><code>- (void)flipToAbout { AboutViewController *aaboutView = [[AboutViewController alloc] initWithNibName:@"AboutViewController" bundle:nil]; [self setAboutController:aaboutView]; [aaboutView release]; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.5]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:window cache:YES]; [homeController.view removeFromSuperview]; [self.window addSubview:[aboutController view]]; [UIView commitAnimations];} </code></pre> <p>In the about view i didn't change anything.Please tell me what is the problemm .Thanks.</p>