We have an app-which is ONLY landscape, that works great on ALL apple devices . It also has the launch images . We are lost with this bug.
We have set the app for landscape only in the device orientation menu. All views are positioning in code only.
What happens on iPad2(iOS7)
ONLY , is when you switch between views, you see for a second a portrait
mode (which looks bad because graphics is for landscape only-so image is on half screen) and than it switch back to the landscape back after a second.
For some other views , the iPad2
ONLY stay forever on portrait for some reason -that means we see the graphics on half screen .its not positioned right .
the size of the screen that we get is just fine
float width=[UIScreen mainScreen].bounds.size.width;
float height=[UIScreen mainScreen].bounds.size.height;
768/1024
**** views that made with storyboard are ok- the others that positioning made with software are bad.
I use the following code (based on link given in above comment):
and this is my screenBoundsOrientationDependent