-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
iOS Splash background color is wrong #9405
Comments
I have the same issue #9443 |
About disappearing pictures. When I changed params they are works fine for simulator
so it looks like the splashscreen is not re-generated after changing the parameters. |
And it’s not working on AzureDevOps, so I still have empty rectangle |
For me, when I used different content/image it helped to remove the bin and obj folder from my project. |
One more observation. SplashScreen works differently for different devices. |
Your advice helped, I removed the transparent background and the logo appeared on devices with small screens. more updates: |
But someone fixed the color difference on the image/backgound? |
nope, color is still not ok |
Someone with a workaround or any progress on this? Looks quite flimsy like this when releasing. |
I'm experiencing the same issue. One workaround might be to convert the svg to png manually and use that png as splash screen, but obviously this diminishes the advantage of using svg. |
Background color is the issue |
Any updates? Will it be fixed in .net 7? |
@FirewizzNL for fast solution you can change your background for SPlashScreen for icon background color. |
Hello, |
@iagocc-wapping yes, so my steps
then you will have little bit different color, but it will looks ok. so, issue is - wrong icon background color, and should use iconbackgrd colorer (after generation of images) for SplashScreen background |
Won't this then be broken on Android as you are explicitly using two different colours as this issue is iOS only? |
you can do like this
|
Oh, true. Thanks. |
For the splash not updating, it is more a device/simulator issue because the OS seems to be caching things: #8685 |
I am going to look and see why the image has the incorrect color - I see it in the .NET splash so I can reproduce. But, I am also going to investigate NOT drawing a background color on the bitmap - so it will remain a transparent image. Unless this will cause other issues. One issue is that if you use the same image for the icon and the splash, it will have the same filename - for example "appicon" for the MauiIcon and the MauiSpashScreen. As a result, the icon may set a color anyways. Basically these issues:
I think best practice would be to make sure you don't have images with the same name being used for multiple things - like icons, images and splash. |
also app icons for iOS and Android have different size |
Description
I'm not sure if this only shows up on certain displays, but the generated RGB that ends up in the
MauiSplash.Storyboard
doesn't match the hex value provided in the csproj.From csproj:
From
MauiSplash.Storyboard
:Color picking in Photoshop this is
#5729dd
which is not#512BD4
and at least on my display is obviously wrong.Steps to Reproduce
File > New and run on iPhone 13 Pro sim. My display settings:
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
15
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: