Titanium Community Questions & Answer Archive

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

***Urgent!!!*** blank flash before loading on device!!!

on my own applications and even with the kitchen sink installed on my iphone 3g, there's a flash of a blank screen before any content loads.

how do i stop this from happening? any reason that this is happening?

iphone 3.1, TI Developer 1.2.1, TI SDK 1.2.0

Thanks so much for the help!!!

rocksteady,
danno~

— asked April 25th 2010 by danno watts
  • 3g
  • blank
  • device
  • flashing
  • iphone
  • iphone3g
  • mobile
0 Comments

9 Answers

  • This was happening to me. I found that if I set background color within the screen the flash occurred but if I set it using the constructor it was fixed.

    So instead of

    var win = Titanium.UI.currentWindow;
    win.backgroundColor = '#000';
    

    I used

    var new_win = Titanium.UI.createWindow({ 
      url:'...', 
      backgroundColor:'#000' 
    });
    

    This fixed it for me, hope it helps you guys.

    — answered May 18th 2011 by Jarrod Dumble
    permalink
    0 Comments
  • some more information, it's a blank screen while content is loading. loading in a scrollview with content, when it loads in the currentTab , it's a blank (black) screen and then the content loads in.

    trying to keep loading the selection from the original tableview and it still flashes blank before showing the content.

    also, none of the content is being dynamically loaded, it is all static/hard-coded into the files.

    would really appreciate any help with this!
    thank you !!

    rocksteady,
    danno~

    — answered April 25th 2010 by danno watts
    permalink
    0 Comments
  • bump so that someone from appcelerator comment on this.
    or anyone who has installed apps on their iphones with the same experiences has come up with.

    rocksteady,
    danno~

    — answered April 27th 2010 by danno watts
    permalink
    0 Comments
  • another bump…
    ::sigh::

    rocksteady,
    danno~

    — answered April 28th 2010 by danno watts
    permalink
    0 Comments
  • Can't believe you're getting no support from Appcelerator on this one. I developed 2 apps using 0.8 and the support from the developers was awesome.. I've just returned to develop our next iteration of features and the support people are getting seems appalling.

    There's only so much that end users can support other users (no matter how technically advanced they are).. after that we need the Appcelerator guys to help out, especially when it's the Titanium framework that's the apparent issue.

    Does anyone with a 'Professional' account find that they're really responsive & helpful with queries like this? Or has support gone to the wall since last December??

    I can see they have 433 open support tickets so I guess they're kinda swamped. They're also 1/3 of the way through coding for the 1.4 release. Still, we need more 'official' answers to issues like this.

    — answered June 11th 2010 by Matt Collinge
    permalink
    0 Comments
  • Bump.
    My app is so close to being ready for submission.
    Just those black transition screens.
    Is there a fix somewhere that I missed?

    — answered May 6th 2011 by Douglas T
    permalink
    0 Comments
  • Offload parts of your pages into the window open event.

    For example:

    win.addEventListener('open', function(e)
    {
        win.add(tableview);
    });
    
    — answered May 6th 2011 by John Welch
    permalink
    0 Comments
  • Bump. None of listed solutions have fixed the issue for me. I even changed the TiUIWindowProxy.m to wait for the window to be rendered but still the effect was only on the simulator, on the device there is still a black screen while rendering the new window.

    — answered July 12th 2011 by Nikolay Christov
    permalink
    0 Comments
  • Bump. Same here. On the simulator everything works fine but on the device it shows the blank black screen. It is very frustrating! :-(

    — answered July 15th 2011 by Jens Marquardt
    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.