admin管理员组文章数量:1356468
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
1 Answer
Reset to default 0Using svg file instead of png. Glad you solved the problem.
本文标签: NET MAUI Splash screen not changing when deploying to iOSStack Overflow
版权声明:本文标题:.NET MAUI Splash screen not changing when deploying to iOS - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744055723a2583214.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论