最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

.NET MAUI Splash screen not changing when deploying to iOS - Stack Overflow

programmeradmin2浏览0评论

I am having issues trying to change the default splash screen when i deploy to iOS. I have changed the splash to a .png file I made and updated the .csproj file like this

<MauiSplashScreen Include="Resources\Splash\uglsplash.png" BaseSize="512,515" Color="#FFFFFF"/>

If I run an android emulator, it shows correctly, but when I deploy to iPad it just shows the .NET default splash screen.

What am I doing wrong here?

Thank you kindly

Edit:

Converting my png to svg and naming everything as the default MAUI template app fixed the issue.

I am having issues trying to change the default splash screen when i deploy to iOS. I have changed the splash to a .png file I made and updated the .csproj file like this

<MauiSplashScreen Include="Resources\Splash\uglsplash.png" BaseSize="512,515" Color="#FFFFFF"/>

If I run an android emulator, it shows correctly, but when I deploy to iPad it just shows the .NET default splash screen.

What am I doing wrong here?

Thank you kindly

Edit:

Converting my png to svg and naming everything as the default MAUI template app fixed the issue.

Share Improve this question edited Apr 1 at 21:45 Clinton Wheeler asked Mar 28 at 5:12 Clinton WheelerClinton Wheeler 112 bronze badges 4
  • Remove .png, delete bin and obj folder and recompile. – Isidoros Moulas Commented Mar 29 at 22:48
  • Do you have the same issue when using svg file instead of png? How did you deploy the app on your physical iPad, by Hot Restart or Pairing to Mac? – WenyanZhang Commented Mar 31 at 7:15
  • Im pairing to my mac, changing all the files to .svg fixed the problem – Clinton Wheeler Commented Apr 1 at 21:44
  • I make an answer. Glad you solved the problem. – WenyanZhang Commented Apr 2 at 1:06
Add a comment  | 

1 Answer 1

Reset to default 0

Using svg file instead of png. Glad you solved the problem.

发布评论

评论列表(0)

  1. 暂无评论