Skip to content

[regression/8.0.0-preview.1.7762] Unable to use a custom splash screen #16843

@mattleibow

Description

@mattleibow

Description

Adding a custom splash screen in the Platforms/iOS folder is not used - even if there are no <MauiSplashScreen> items.

This is a result of #12677

Previously, if no splash was specified, the app would render incorrectly, so we always make sure that we have a splash. However, we need a way to turn this off if you do want a custom splash.

Steps to Reproduce

  1. New .NET MAUI app
  2. Remove the <MauiSplashScreen> item
  3. Add a custom storyboard to the Platforms/iOS folder
  4. Make sure it is registered in the Info.plist
  5. Run the app
  6. Observe a blank white splash is used

Link to public reproduction project repository

No need

Version with bug

8.0.0-preview.7.8842

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.92

Affected platforms

iOS

Affected platform versions

All versions

Did you find any workaround?

Add this to the csproj of the iOS app:

<Target Name="RemoveGeneratedSplashScreen" AfterTargets="ProcessMauiSplashScreens">
	<ItemGroup>
		<PartialAppManifest Remove="$(_MauiIntermediatePList)" />
	</ItemGroup>
</Target>

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

area-single-projectSplash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizerfixed-in-8.0.0-rc.1.9171Look for this fix in 8.0.0-rc.1.9171i/regressionThis issue described a confirmed regression on a currently supported versionplatform/iost/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions