Reputation: 2000
I have tried to follow all tutorials available about splash screens for .NET MAUI, but I can't have my app display a custom splash screen. The steps to reproduce the issue:
It keeps showing the default .NET Splash screen instead of the custom one. The same issue happens with appIcon.
Upvotes: 2
Views: 1550
Reputation: 8914
There currently is a bug in MAUI's resizetizer.
As a workaround, you need to actually provide a new name to the splash screen image (as well as the app icon), it cannot be named splash.svg
if you want to change it. Everytime you change the image, you also need to provide an entirely new name due to a caching bug.
A fix is in the making, but ETA is unknown at the moment. Refer to this for the bug: https://github.com/dotnet/maui/issues/8685
Upvotes: 3