iPad Orientation Bug on start 1.4.3
Hi, everbody
I have a serious problem in iPad orientation.
My app has this code:
var win = Ti.UI.createWindow({
backgroundImage: 'img/bkg.png',
orientationModes: [Ti.UI.PORTRAIT, Ti.UI.UPSIDE_PORTRAIT, Ti.UI.LANDSCAPE_RIGHT, Ti.UI.LANDSCAPE_LEFT]
});
and in tiapp.xml:
<orientations device="ipad">
<orientation>Ti.UI.PORTRAIT</orientation>
<orientation>Ti.UI.UPSIDE_PORTRAIT</orientation>
<orientation>Ti.UI.LANDSCAPE_LEFT</orientation>
<orientation>Ti.UI.LANDSCAPE_RIGHT</orientation>
</orientations>
My app start normal in Portrait, and rotate normal, but if i put iPad on Landscape before, and open my app, it show a landscape splash and switch to a portrait window in landscape mode.
Creating a window that is cut down and with black border the side.
Sorry for my poor english, i'm Brazilian.
2 Answers
-
Now this bug if fixed on final 1.5.0, 1.5.1 and 1.6.0.
-
I'm still seeing this with 1.5.1. Starting in portrait works fine. Starting in landscape jumps the iPad status bar over to the side of the screen (where it should be if it's in portrait, even though I'm holding in landscape) and then quickly rotates the status bar back around to the top.