Titanium Community Questions & Answer Archive

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

Unexpected rotation of splash screen with portrait iPhone app launched on landscape iPad

My app is portrait only, so is my splashscreen (Default.png). When I launch my iPhone app on my iPad in landscape mode, just after displaying the splashscreen, the orientation change and the splashscreen is truncated (because it's 320x480 portrait mode, not landscape…), then the first window is displayed in portrait mode…

The same problem appears in Kitchensink… To check, install Kitchensink iPhone on an iPad (not the iPad version…), turn the iPad ton landscape and launch Kitchensink…

How can I avoid this orientation ?

— asked September 28th 2010 by Pascal PLUCHON
  • ipad
  • iphone
  • kitchensink
  • orientation
1 Comment
  • Hi

    Sorry, I do not know the answer to your issue; but maybe you could help me.

    You said that your splash Screen is in portrait mode; I need to do that; I tried with the AndroidManifest.XML, the Tiapp.XML, and so on, but all of that does not work,

    I will be grateful if you can help me. And sorry for use your thread, to find other issue solution.

    Thanks

    — commented December 17th 2014 by Hund Dunkel

2 Answers

  • It's true for iPad apps, not for iPhone apps running on iPad… (and Default-Landscape.png doesn't work either)

    Since my question, I've found a solution by changing the UISupportedInterfaceOrientations key in info.plist…

    My app is now on the store so I guess it's ok ;)

    I'm working on an iPad version, but's it's not really copy & paste because you have to deal with bigger screen and splitview… But I think that 80% of the code is the same (in my case).

    — answered October 23rd 2010 by Pascal PLUCHON
    permalink
    0 Comments
  • Apple's Human Interface Guidelines require that an iPad app must be able to run in both portrait and landscape orientation. So maybe add Default-Portrait.png and Default-Landscape.png may help…

    Btw, it is literally copy & paste to create a separate iPad version for your app, so why not do that?

    — answered October 23rd 2010 by Pieter Kubben
    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.