Search code examples
imageuwpscaleassetssplash-screen

UWP doesn't use best scaled Splash Screen


I have all necessary scales in my project:

Scaled Splash Screens

However, when I start my app, it doesn't seem to pick the best scaled Splash Screen. I'm starting in Release x86. It's always using the scale-100 splashscreen.

Wrong Splash Screen

I used the right names for the SplashScreens and they are in the folder "Assets" in my project:

Names of the assets

Do I have to 'activate' an option to enable the usage of variable Splash Screens? Or why does it always pick a Splash Screen that's too small?


Solution

  • The reason Windows is using the scale-100 asset in your case is because your desktop environment is set to 100% scaling. There's no need for it to use a higher-resolution asset because of this. But that's not the reason why your asset isn't stretching to fill the window.

    Splash screens in Windows Store apps (including UWP apps) are unlike most conventional splash screens in that their images aren't full screen images. Usually, what you put in a splash screen image for a UWP app is the app icon or logo, which is then centered on the variable-sized window and superimposed over an optional background color, rather than itself stretched (since windows can be of arbitrary size, whereas your splash screen image may require a specific aspect ratio to display correctly). From Guidelines for splash screens:

    Putting an image and background color together to form the splash screen helps the splash screen look good regardless of the form factor of the device your app is installed on. When the splash screen is displayed, only the size of the background changes to compensate for a variety of screen sizes. Your image always remains intact.