+2  A: 

When using a UIViewController the normal way (i.e. pushing it on a UINavigationController), it adjusts its view's frame.

Since you're adding the subview manually, you have to adjust the frame yourself. The origin is in the upper right corner (at the top of the status bar). You want to shift your view 20 pixels down.

Nikolai Ruhe
All of the examples I've seen use UINavigationController to display a hierarchy of lists, it this what it's only used for?Or can I use it to control which views are displayed, even if they don't need a NavigationBar etc?
mac_55
+2  A: 

In interface builder, you can add Simulated Interface Elements that will appear programatically (such as the status bar or the navigation bar). In your inspector, select your view, and go to the Attributes tab. Here you can simulate The Status bar, a top bar, or a bottom bar.

Reed Olsen