Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

SplitView not launching in the current orientation

When using a SplitView on iPad the app is ignoring the users current device orientation and is launching in what I call portrait mode all the time, even if the user is in "landscape"

When this happens is causing the splitview to quickly try to adjust after the splash image making the splitview look off centered on the screen.

— asked April 6th 2010 by Michael Huntington
  • ipad
  • orientation
  • splitview
0 Comments

3 Answers

  • anyone on the dev team have a solution/update for this? I'm having the same problem.

    Splitview launches "portrait style" even if the device is set to landscape before opening said splitview. kitchen sink has the same bug.

    thanks!

    — answered June 10th 2010 by Riley Hamilton
    permalink
    0 Comments
  • The latest build in github has this issue fixed now.

    — answered June 10th 2010 by Kosso
    permalink
    0 Comments
  • Set Titanium.Gesture.addEventListener('orientationchange') on your projec and resize control on orientation change event.

    when file open at first time fire Orientation change event manually at the end of line in file, it calls manually when all controls are loaded first time.
    Titanium.Gesture.fireEvent('orientationchange')

    — answered October 19th 2011 by Gaurang Chhatbar
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.