飞溅屏幕 – 通用窗口10个应用程序的Splash屏幕

我正在创建面向Windows Phone和Windows Desktop的Windows 10通用应用程序,我遇到的问题是通过将.manifest文件添加到应用程序的启动屏幕时,没有选择添加适合手机的肖像的闪屏方向(见下图),

当我在手机上部署应用程序时,闪屏如下所示。

在这种情况下,您还需要在第一个屏幕截图上指定背景颜色。

读这个 –

For a Windows Phone Store app,provide the 2.4x asset at a minimum;
preferably all. The image file assets themselves should have a
transparent background. In your app manifest,set the value of the
SplashScreen@Image property to “Assets\.png”,and set a
value for VisualElements@BackgroundColor.

您可以从此link阅读更多。

链接的前半部分似乎在谈论Windows 8.1和Windows Phone 8.1,包括上面引用的段落,但同样的规则适用于Windows 10.我不认为您可以有一个完整的页面启动屏幕给定所有不同大小的设备。以前,这仍然是可能的,因为您可以简单地删除启动屏幕并在您的应用程序中创建一个xaml启动用户控件,但是由于启动屏幕在UWP中成为必需条件,所以我没有看到任何其他方法来实现此目的。

相关文章

Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...
Windows文件操作基础代码 Windows下对文件进行操作使用的一段...
Winpcap基础代码 使用Winpcap进行网络数据的截获和发送都需要...
使用vbs脚本进行批量编码转换 最近需要使用SourceInsight查看...