I’m working on a simple application that has a RootViewController and a SubViewController. The RootViewController just loads in the fullscreen SubViewController but SubViewController isn’t aligned correctly.

Notice how the UITableView is being cut off at the top of the screen.
I figure this must have something to do with the status bar as that seems to be the exact size that’s being cut off. I’ve tried every logical combination of “simulated metrics” in interface builder but I can never get it quite right.
What am I doing wrong?
Try something like this in your viewDidLoad, not sure how you are loading things up…