Load and Stay in Landscape mode
I have an app with two tabs, i want them to load in landscape mode and stay that way. I can use the
Titanium.UI.orientation = Titanium.UI.LANDSCAPE_LEFT;
to make them turn to landscape, but there's that little brief animation where it starts in portrait and spins sideways, how do i prevent that animation to where it literally just stays in landscape? I looked all through the questions but haven't found a real solution yet
3 Answers
-
I would like to know this as well. Apparently there is a ticket open, but it keeps getting pushed back.
-
No one have a answer for this ? same issue here. Thanks in advanced.
-
For iPhone
win.orientationModes = [Titanium.UI.LANDSCAPE_LEFT]; win.open(); Titanium.UI.orientation = Titanium.UI.LANDSCAPE_LEFT;
For Android
check out the link