1. #1
    Sencha User
    Join Date
    Aug 2009
    Posts
    96
    Vote Rating
    1
    r4nd7263 is on a distinguished road

      0  

    Default Splash Screen

    Splash Screen


    I built a iPhone app using ST and PhoneGap. After native splash screen goes away, it shows blank screen for a sec before ST app renders. I figure it due to delay in initializing javascript. So I add a background image to index.html - same image as the native splash screen.

    Code:
    <html>
      <header>
        ...
        <style>
          .bg {
            background: url(bg.png) center;
          }
        </style>
      </header>
      <body class="bg">
      </body>
    </html>
    But when ST initializes the app, it seems to double the body height for a sec before rendering the components, so it looks like the background image is jumping up and down, appear worse than white screen.

    How do I fix this? Is there an example on proper splashscreen implementation?

  2. #2
    Sencha User
    Join Date
    Aug 2009
    Posts
    96
    Vote Rating
    1
    r4nd7263 is on a distinguished road

      0  

    Default


    The solution here http://www.sencha.com/forum/showthre...een-load/page3 works for iPhone.

    But doubling of page body height is still a problem when deployed to Web. On Chrome, it looks like a flash of scrollbar. On Mobile-Safari, the page is scrolled to the bottom, revealing a flash of white.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar