iPhone UIViewController goes under status bar
- by Mantas
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?