Follow the official doc: Splash Screen
Make sure your icon content takes full the entire space of your icon size. Then set "windowSplashScreenAnimatedIcon" to you icon. And set "windowSplashScreenIconBackgroundColor" to transparent.