How can I retrieve a rotation specific applicationFrame/screen bounds? The “applicationFrame” method always returns 768×1024 on the iPad, no matter whether the device is in landscape or portrait mode. I am looking for a method that would return me 1024×768 if the device is in landscape and 768×1024 if its in portrait.
I am sure there is something like this out there but I just can’t find it. In case it really doesn’t exist, how do make your iPad apps landscape and portrait compatible?
Turns out applicationFrame works fine, but only if the autorotation is properly implemented! In my case the controller of the view that was added as subview to the UIWindow was released too early, which seems to cause applicationFrame to break along with the autorotation mechanism. I think this is because the responder chain can no longer function properly, yet I did not verify this.