iPhone UIViewController goes under status bar

Posted by Mantas on Stack Overflow See other posts from Stack Overflow or by Mantas
Published on 2009-12-09T02:04:21Z Indexed on 2010/03/22 0:31 UTC
Read the original article Hit count: 557

Filed under:
|
|

I have UIView and UIController view. My is standard 320x460 view. In applicationDidFinishLaunching I do

[window addSubview:[controller view]];

What is weird, UIView goes under the status bar (like there's missing outlet). However, if I rotate iPhone to the side and then back, it shows up ok.

Is this an expected behavior (I bet I can ix it by setting offset) or am I doing smth wrong?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiviewcontroller