# Short white Screen in start phase on iOS

**URL:** <https://forums.fusetools.com/t/short-white-screen-in-start-phase-on-ios/4880>\
**Category:** How-to Discussions\
**Created:** [August 31, 2017, 7:29am UTC](https://forums.fusetools.com/t/short-white-screen-in-start-phase-on-ios/4880 "2017-08-31T07:29:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SvenWS](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/svenws/32/325_2.png) [@SvenWS](https://forums.fusetools.com/u/SvenWS)\
**Post date:** [August 31, 2017, 7:29am UTC](https://forums.fusetools.com/t/short-white-screen-in-start-phase-on-ios/4880/1 "2017-08-31T07:29:06Z")

</div>

We build an app with colored launch image and colored app background.  
When the app starts the launch image is showed as long as the app needs to be loaded.  
But when switching from the launch image to the main app view there is a blank white screen shown for a more or less short moment.

How can this be avoided.

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [August 31, 2017, 10:29am UTC](https://forums.fusetools.com/t/short-white-screen-in-start-phase-on-ios/4880/2 "2017-08-31T10:29:54Z")

</div>

It’s hard to suggest anything without seeing some code. I suggest you build the project from XCode, and step through the launch sequence to see what’s taking up the time.

---

<div class="post-metadata">

**Author:** ![SvenWS](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/svenws/32/325_2.png) [@SvenWS](https://forums.fusetools.com/u/SvenWS)\
**Post date:** [August 31, 2017, 10:41am UTC](https://forums.fusetools.com/t/short-white-screen-in-start-phase-on-ios/4880/3 "2017-08-31T10:41:09Z")

</div>

Ok. I will make a stripped version to narrow it down.

The main app view also loads some images from the bundle.  
Is there a way to ensure that the page is displayed first and after that the images are loaded (lazy loading like web images)?

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [August 31, 2017, 10:50am UTC](https://forums.fusetools.com/t/short-white-screen-in-start-phase-on-ios/4880/4 "2017-08-31T10:50:45Z")

</div>

Yes, there are ways to defer things. The exact approach to be used depends on how you do things though, so there’s again not much we can suggest.

As an example, read some about [Deferred](https://www.fusetools.com/docs/fuse/deferred) (applies to not just images). Or you could put an [Activated](https://www.fusetools.com/docs/fuse/navigation/activated) trigger on a page that has a [Callback](https://www.fusetools.com/docs/fuse/triggers/actions/callback) child which launches some JS operation.

And that’s just the beginning, there’s plenty of options.

---

<div class="post-metadata">

**Author:** ![SvenWS](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/svenws/32/325_2.png) [@SvenWS](https://forums.fusetools.com/u/SvenWS)\
**Post date:** [August 31, 2017, 11:04am UTC](https://forums.fusetools.com/t/short-white-screen-in-start-phase-on-ios/4880/5 "2017-08-31T11:04:53Z")

</div>

Perfect! I didn’t know Deferred. I will try this out and comment this thread…

---

<div class="post-metadata">

**Author:** ![SvenWS](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/svenws/32/325_2.png) [@SvenWS](https://forums.fusetools.com/u/SvenWS)\
**Post date:** [September 1, 2017, 8:04am UTC](https://forums.fusetools.com/t/short-white-screen-in-start-phase-on-ios/4880/6 "2017-09-01T08:04:26Z")

</div>

I stripped everything that costs time or resources away and yes if I have a more or less blank app there is no flickering because of the intermediate white screen. At the moment I have some UI controls on the main app page it is back (although also the App tag has a back color set). The white screen (the flickering) is time depends on the loading time. I will make a sample and can upload it.

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [September 7, 2017, 11:39am UTC](https://forums.fusetools.com/t/short-white-screen-in-start-phase-on-ios/4880/7 "2017-09-07T11:39:21Z")

</div>

Hey, I was just looking at the docs, and I found the section on [iOS.LaunchImages](https://www.fusetools.com/docs/basics/uno-projects#ios-launchimages). Wondering if that could be of any help.

---

<div class="post-metadata">

**Author:** ![SvenWS](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/svenws/32/325_2.png) [@SvenWS](https://forums.fusetools.com/u/SvenWS)\
**Post date:** [September 7, 2017, 11:47am UTC](https://forums.fusetools.com/t/short-white-screen-in-start-phase-on-ios/4880/8 "2017-09-07T11:47:55Z")

</div>

Thanks Uldis. I was interupted by the show-pdf-from-bundle thing. I come back to this challange later.  
I also saw some stuttering of the interface at another point of the UI.  
I will look at it at as a whole and control if I lazy load the images in the UI. I think this will be the key.
