Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mattleibow opened this issue Aug 17, 2023 · 0 comments · Fixed by #16845
Closed

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

mattleibow opened this issue Aug 17, 2023 · 0 comments · Fixed by #16845
Assignees
Labels
area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 i/regression This issue described a confirmed regression on a currently supported version platform/iOS 🍎 t/bug Something isn't working
Milestone

Comments

@mattleibow
Copy link
Member

mattleibow commented Aug 17, 2023

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

@mattleibow mattleibow added the t/bug Something isn't working label Aug 17, 2023
@Eilon Eilon added the area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer label Aug 17, 2023
@samhouts samhouts added this to the .NET 8 GA milestone Aug 18, 2023
@samhouts samhouts added platform/iOS 🍎 i/regression This issue described a confirmed regression on a currently supported version labels Aug 18, 2023
@samhouts samhouts changed the title Unable to use a custom splash screen [regression/8.0.0-preview.1.7762] Unable to use a custom splash screen Aug 18, 2023
@samhouts samhouts moved this from Todo to In Progress in MAUI SDK Ongoing Aug 21, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in MAUI SDK Ongoing Aug 22, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 21, 2023
@samhouts samhouts added the fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 label Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 i/regression This issue described a confirmed regression on a currently supported version platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants