Titanium Community Questions & Answer Archive

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

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',

and in tiapp.xml:

        <orientations device="ipad">

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.

— asked November 30th 2010 by Adriano Paladini

2 Answers

  • Now this bug if fixed on final 1.5.0, 1.5.1 and 1.6.0.

    — answered December 23rd 2010 by Adriano Paladini
  • 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.

    — answered January 26th 2011 by Adam Tootle
    1 Comment
    • Scratch that. I thought I had cleared my build folder already. Just tried it again and it works fine. My mistake.

      — commented January 26th 2011 by Adam Tootle
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.