I have a .NET 7 MAUI application that is being used solely for iOS/iPadOS. The splash screen is completely black with nothing visible. The SVG file is an image with no black – only blue and white. This happens in deployment to local devices and simulators, as well as when deploying a Release build IPA to the device.
I have:
- A
loading_screen.svg
file in/Resources/Splash
with a Build Action ofMauiSplashScreen
. - The file size is 214 KB. The resolution is 1920 x 1080.
- Set the
MauiSplashScreen
tag:
<ItemGroup>
<MauiSplashScreen Include="Resources\Splash\loading_screen.svg" />
</ItemGroup>
- Set the
UILaunchStoryboardName
inInfo.plist
for the iOS platform:
<key>UILaunchStoryboardName</key>
<string>MauiSplash</string>
- Set the
UILaunchImageFile
inInfo.plist
for the iOS platform (I have also tried changing the extension in the string below to.png
):
<key>UILaunchImageFile</key>
<string>Resources\Splash\loading_screen.svg</string>