Hey Guys,
I want to display all Windows in my App in Landscape mode. Currently I' use on every new Window an eventlistener for focus.
win1.addEventListener('focus', function() { win1.orientationModes = [ Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT, ]; Titanium.UI.orientation = Titanium.UI.LANDSCAPE_RIGHT; });The Problem with that code is, if I switch between to windows it will display for a short moment (under 1 sec) the portrait mode and switch then to the landscape mode.
Thanks for your help, Dominik
1 Answer
Hey Dominik,
Just noticed an open ticket on Lighthouse that seems related to this, so looks like a fix is coming in 1.2.0
Your Answer
Think you can help? Login to answer this question!