UWP 不使用最佳缩放启动画面

UWP doesn't use best scaled Splash Screen

我的项目中有所有必要的比例尺:

但是,当我启动我的应用程序时,它似乎没有选择最佳比例的启动画面。我从 Release x86 开始。它始终使用 scale-100 启动画面。

我为 SplashScreens 使用了正确的名称,它们位于我项目的 "Assets" 文件夹中:

我是否必须 'activate' 一个选项来启用可变启动画面?或者为什么它总是选择一个太小的启动画面?

Windows 在您的案例中使用 scale-100 资产的原因是因为您的桌面环境设置为 100% 缩放。因此,它不需要使用更高分辨率的资产。但这不是您的资产没有扩展到 window.

的原因

Windows 应用商店应用(包括 UWP 应用)中的启动画面与大多数传统启动画面不同,因为它们的图像不是全屏图像。通常,您在 UWP 应用程序的初始屏幕图像中放置的是应用程序图标或徽标,然后以可变大小 window 为中心并叠加在可选背景颜色上,而不是自身拉伸(因为 windows 可以是任意大小,而您的闪屏图像可能需要特定的纵横比才能正确显示)。来自 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.

如果您确实需要显示全屏图像而不是小启动画面,您可以完全省略这些图像并使用 extended splash screen