So here is what i have:
A UITabBarController that handles different UIViewControllers. In one of the UIViewController i am trying to switch the view being displayed when the
This code works fine but when i dismiss a uiviewcontroller which is presented modally, my view is under the status bar by 20 pixel.
My view is inside a navigationcontroller so i do not hide it before rotation.