Skip to content

Workaround for GIF not animating issue in MAUI on iOS and Android

License

Notifications You must be signed in to change notification settings

billreiss/MauiGifWebView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MauiGifWebView

NOTE: .NET MAUI has a fix for GIF image animations, but it doesn't currently work on Android in release mode. Once this is fixed, this repository will be obsolete.

Workaround for GIF not animating issue in MAUI on iOS and Android. Use the GifImage control as a mostly drop in replacement for the Image control for displaying GIFs. On Windows the GifImage control uses the native Image control.

You will need to set the gif image file to build action MauiAsset instead of MauiImage for the GifImage control to find it.

I used the property name "Asset" instead of "Source" because I wanted to make it clear that this isn't an ImageSource, it's just a path to the MauiAsset.

About

Workaround for GIF not animating issue in MAUI on iOS and Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published