Splash screen for universal windows 10 apps

2019-03-22 19:26发布

I am creating a windows 10 universal app targeted for both Windows Phones and Windows Desktop, the problem I am facing on is when adding splash screen through the package.manifest file to the app, there is no option to add splash screen which fits the phone's portrait orientation (see the image below),

enter image description here

And when I deploy the app on the phone the splash screen appears like shown below.

enter image description here

3条回答
Rolldiameter
2楼-- · 2019-03-22 19:57

If you want to make an advanced splash screen with a bigger image and ProgessBar or a ProgressRing . You should check Msdn on "how to extend the splash screen".

You can read more about the Extended splash screen here.

Best of luck !

查看更多
唯我独甜
3楼-- · 2019-03-22 20:01

In this case, you will also want to specify the Background color, on your first screenshot.

Read this -

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.

You can read more from this link.

The first half of the link seems to be talking about splash screens in the Windows 8.1 & Windows Phone 8.1, including the paragraph I quoted above, but the same rules apply to Windows 10. I don't think you can have a full page splash screen given all the different sized devices. Previously it would still be possible 'cause you could simply remove the splash screen and create a xaml startup usercontrol within your app, but since the splash screen becomes mandatory in UWP, I just don't see any other way to achieve this.

查看更多
\"骚年 ilove
4楼-- · 2019-03-22 20:03

I'm facing similar problem. The splash screen I show has portrait orientation. It should have content in the upper and the lower part of the screen. So I found an article in internet explaining how to implement an extended splash screen.

http://www.c-sharpcorner.com/UploadFile/020f8f/universal-windows-platform-and-extended-splash-screen/

Following that article I just referenced my splash screen having size 300x620. It works fine though Visual Studio marks the image as invalid.

Invalid Splash Screen Size

查看更多
登录 后发表回答