在秋季创作者更新 (FCU) 中从 UWP 应用中删除启动画面 [英] Removing splash screen from UWP app in Fall Creators Update (FCU)

查看:27
本文介绍了在秋季创作者更新 (FCU) 中从 UWP 应用中删除启动画面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一些关于新秋季创作者更新 SDK 的文章中读到,现在可以开发没有启动画面的应用以加快加载速度.

I read in some article regarding new Fall Creators Update SDK that it is now possible to develop apps without splash screens for faster loading times.

我的问题是,我们如何在启动应用程序时消除启动画面?应用更改的文档在哪里?

My question is, how do we eliminate a splash screen when starting up an app? Where is the documentation for the changes to make to the app?

推荐答案

从主项目打开 Package.appxmanifest 文件并添加 a:Optional="true"

Open your Package.appxmanifest file from your main project and add a:Optional="true" to

<uap:SplashScreen Image="Assets\SplashScreen.png" a:Optional="true" xmlns:a="http://schemas.microsoft.com/appx/manifest/uap/windows10/5" />

但是,您仍然需要提供 splash 图像,因为 a:Optional

However, you will still need to provide a splash image because a:Optional

指定是否应在没有启动画面的情况下启动应用程序.如果为 true,如果应用程序可以启动,则不会显示启动画面足够快.如果应用程序启动时间有延迟,则飞溅屏幕将显示.如果为 false,则启动画面将始终为显示.

Specifies whether an app should be launched without a splash screen. If true, the splash screen will not be shown if the app can launch fast enough. If there is a delay in the app launch time, the splash screen will be shown. If false, the splash screen will always be shown.

请参阅此链接 了解更多信息.

Please refer to this link for more information.

这篇关于在秋季创作者更新 (FCU) 中从 UWP 应用中删除启动画面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆