Objective-c – Fullscreen UIView with Status bar and Navigation Bar overlay on the top

iphoneobjective-c

What is the proper way to implement the status bar and navigation bar that go on top of an UIView?

alt text http://img.skitch.com/20081217-t78sdixk37hqgdh1ia2fgec4st.png

Best Solution

Just set “wants fullscreen layout” in your view controller. That solves the problem for me.

self.wantsFullScreenLayout = YES;