self.view.frame excluding UIStatusBar

When trying to put something at 0, 0, it takes the place of the status bar. Is there a way that 0, 0 will translate to the actual 0, 0 and not 0, 20?


self.topBar.frame = CGRectMake(0, 0, self.view.frame.size.width, topBarHeight);


When you rotate to landscape, the status bar goes away and it works correctly. The moment you rotate back to landscape (or run on an iPad) 0, 0 is again covering the status bar.