How to decrease Splash screen time in .net maui? Or How to Remove/Disable Splash Screen in .net maui?

Muhammad Bilal 0 Reputation points
2024-03-27T12:45:20.0833333+00:00

I want to reduce .net maui app splash screen duration, How can i do that.

If not possible then give me a way to remove or disable app by default splash screen Completely and i will add custom splash screen.

Developer technologies | .NET | .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 60,161 Reputation points
    2024-03-27T13:59:01.34+00:00

    If you're referring to the splash screen that appears as your app starts up on Android and iOS then it is displayed while your app is starting up. If you want it to go away faster then you need to speed up your startup process.

    Since we have no way of knowing what your app is doing at startup we can only guess at things to speed it up. A common slowdown at startup is attempting to load the initial set of data needed by the main view. To make this faster move that logic into async calls that occur after the main view is shown. Unfortunately this isn't much help to the user since they will still not be able to do much with your app until your data loads in many cases, but it depends on your app.

    Other slowdowns could include loading external resources like images or connecting to shared resources like the camera. Anything you can move out of the startup time will help. Note that you'll always have the overhead of loading the app, starting the runtime, etc and there isn't much you can do about that.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.