Search code examples
ioslaunch-screen

Launch screen for iOS


I have read a few posts on this topic about making the launch screen last longer, but I want to make it shorter.

Currently my launch screen takes 4 seconds before loading the login screen, and the app is not even close to being finished yet. Does that mean the launch screen could take longer to load once the app is finished?

Is there any way to make the launch screen appear for 2 seconds?

Xcode, Swift. backend in PHP.


Solution

  • The launch screen loading time depends on how "long" it takes your initial view controller to be prepared.

    So, if you want it to "load faster" make your initial view controller more lightweight, do this by:

    • Reducing the number of interface elements being shown
    • Do not perform that many operations inside the "view did load" method.

    Other than this, theres really not much you can do to control the time.