MauiSplashScreen gif file

Muhammad Faizan 1 Reputation point
2022-12-13T10:58:13.453+00:00

<MauiSplashScreen Include="Resources\Splash\splash_screen.gif" IsAnimationPlaying="True" />

dotnet maui splash screen deos not play animated gif file.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,011 Reputation points Microsoft Vendor
    2022-12-14T05:39:25.297+00:00

    Hello,

    Neither MAUI nor the underlying platforms support animated GIFs for Splash Screens.

    For the underlying platforms, the SplashScreen is managed by the OS, and it shows while the application loads, before the application code runs.

    On those native platforms, only Android supports animated SplashScrren via vector drawable (AVD)s, you could refer to this official documentation Splash screens to get more details.

    Other platforms do not support animation.

    For the MAUI SplashScreen, it is managed by the MAUI app.

    Although it has not currently been implemented in MAUI, there has been an Enhancement request on GitHub about adding SplashScreen Animation support, you could follow this issue: Enhancement MauiSplashScreen Video / Animation Support #3300.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.