I just want to ask if anybody else is also having problems with this;
It used to be that a tabbar app by default didn't allow landscape view unless it was enabled for all views in the app, but one could add
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didRotateFromInterfaceOrientation) name:@"UIDeviceOrientationDidChangeNotification" object:nil];
to catch the orientation change messages & then react to the messages accordingly.
Lately I've seen that once a landscape view has been shown, every view that does not allow landscape will show that previous landscape view when the phone is tilted.
So, View1 (does not support landscape) tilted phone shows View1 sideways, View2 (supports landscape) tilted phone shows Landscapeview2, now that the landscape view has show once, View1 tilted shows Landscapeview2
I release the viewcontroller after presentModalViewController and dismiss the viewcontroller when the landscape view is no longer needed so it should be gone but on any orientation change after the first display it keeps showing, as if presentModalViewController was being called again.
Any ideas? Anybody else having the same problem? (It never happened with the 3.x OS versions)