lanscape views "y" coordinate changes between device rotation
Hello,
I have a Tab Bar application. The first bar item authorized landscape orientation.
In this case I add another viewcontroller as a subview of the tab bar controller (the landscape view is handled by a dedicated view controller).
The first time I go from portrait to landscape it works fine, the landscape view is displayed on the whole screen.
When moving back from landscape to portrait, I remove this subview => the app go back to the tab bar controller, that's fine also.
The second time (and after) I move from portrait to landscape thing start to go wrong... the landscape view only appear on the top half of the view and we can see the tab bar controller on the rest of the screen which I do not want.
I tried to create a CGRect and set the landscape view bouds to this rect but... same thing. Have you already experienced this kind of problem ?
Luc
|