Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-12893

iOS: iPad switches to Default.png after the splash screen Default-Portrait.png is displayed before opening a window

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: Release 3.0.0, Release 3.0.2
    • Component/s: None
    • Labels:
    • Environment:

      iPad (most noticeable in first generation iPads)
      Tested on iOS 4.3, 6.0
      Titanium 3.0 and 3.0.2GA

      Description

      Problem

      The issue occurs when running the iPhone app on an iPad. After displaying the splash screen on an ipad (Default-Portrait.png), the screen will flicker and display Default.png for a brief moment (between the period when the splash screen ends and the window is displayed) before opening the window.

      Please see the screencast here: http://dl.dropbox.com/u/31008648/IMG_5304.MOV.

      Note that in the video the second time that Default-Portrait.png displayed is actually a window with the backgroundImage set to Default-Portrait.png.

      Code to reproduce

      Here is the code that is being run in the video:

      var platform = Ti.Platform.osname, model = Ti.Platform.model, tmpSplash = 'Default.png';
       
      var isiPad = model.indexOf("iPad");
       
      if (isiPad > -1) {
              Ti.API.info("iPad Detected!");
              tmpSplash = 'Default-Portrait.png';
      }
       
      Ti.API.info("Creating window with image: " + tmpSplash);
       
      var loadingWin = Ti.UI.createWindow({
              top : -20,
              backgroundImage : tmpSplash,
              backgroundColor : 'transparent',
              navBarHidden : true,
              exitOnClose : true
      });
      loadingWin.open();
      

        Attachments

          Activity

            People

            • Assignee:
              mstepanov Max Stepanov
              Reporter:
              btran Betty Tran
            • Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-15767
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration