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 Default Image splash screen orientation cutoff

Setting up Default image 768x1024 only works correctly if the device load up in portrait orientation, otherwise, the right side gets cut off and appended with white background while loading (nasty!) One can set Ti.UI.backgroundColor at app.js to paint the cut off area but still, the white cutoff appeared in a flash before loading app.js…

if the app were to load at with image made at 1024x768, the Default image get scratched in a worst way.

I don't suppose there's a way to manipulate Default image while app is booting up? For instance, two Default images one for L, and the other for P orientation, and the project will compile that to load a correct default image ?

— asked May 11th 2010 by Daniel Lim
  • default
  • image
  • ipad
  • orientation

3 Answers

  • You ought to be able to add images for each orientation by creating the following:

    • Default-Portrait.png 768w x 1004h
    • Default-PortraitUpsideDown.png 768w x 1004h << takes precedence when upside down
    • Default-Landscape.png 1024w x 748h << can be used instead of specific left/right images
    • Default-LandscapeLeft.png 1024w x 748h
    • Default-LandscapeRight.png 1024w x 748h
    — answered May 11th 2010 by Kevin Whinnery
  • Hi Kevin,

    Nope, same story. I created all those files and put it over "iphone" folder where the Default.png used to be, it's loading the new Default-Portrait.png just fine but still same story for Landscape mode. Also, there's about 20 pixels offset on top of the window after open when the the app loaded in upside down portrait mode and occasionally on both landscape mode, except portrait mode. This offset issue suppose to be fixed on 1.30? when will it be ready?

    I'm using 1.21 presently.


    — answered May 11th 2010 by Daniel Lim
  • Hi Kelvin,

    Heading no where, i recreated a new project and copied the files over, including the varies default images and i got the app cannot be installed error message because it was not signed.

    Apparent it won't install without Default.png image in there. Anyway, added that image file in the folder let me installed it just fine but new project still loading only portrait image.


    — answered May 11th 2010 by Daniel Lim
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.