Hello,
When I run this on my iPhone I just get a blank white screen as the splash screen.I tried putting in a BaseSize and Color tag. I set the Color to "#000000".Now the splash screen just comes up with a blank black screen.
This means that your splash page has indeed launched, but the image on the page is not displayed correctly.
Inside the Resources folder is splash_XXXX...XXXX.png file
There should be a splash_XXXX...XXXX.png, ******@2.png and ******@3.png.
As described in the doc you mentioned, "By default, bitmap (non-vector) image formats are not automatically resized by .NET MAUI", you are using a .png which is non-vector image, please try using SVG file.
In addition, you could expand the Resources
->Splash
folder, and make sure there is only one image that has been set SplashScreen
for BuildAction
. (Or open .csproj file, make sure there is only one MauiSplashScreen element like <MauiSplashScreen Include="Resources\Splash\XXX" />
)
If your Android splash screen issue still exists after using SVG file, it's recommended that you create new thread for it, and we can focus on that one. (Please avoid posting multiple questions in a single thread as noted in the Q&A FAQ: How to write a quality question, thanks for your understanding)
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.