You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Setting the CultureInfo.DefaultThreadCurrentCulture to some different values than 'en-US' can result in .gif images not animating on iOS. On Android the gif is animating correctly as expected.
Setting the CultureInfo.DefaultThreadCurrentCulture to some different values than 'en-US' can result in .gif images not animating on iOS. On Android the gif is animating correctly as expected.
Not working correctly:
I have tried a few different values, and these seem to work correctly however:
Steps to reproduce:
<Image Source="office.gif" IsAnimationPlaying="True" />
EDIT:
It seems to be caused by the ImageAnimationHelper in Xamarin.Forms.Platform.iOS on line 54:
In the Xamarin.Forms Control Gallery this results in a value of 0.33 to be parsed as 33.
The solution which seems to fix the issue is to ignore the thread culture, e.g.:
The same probably applies to line 56.
The text was updated successfully, but these errors were encountered: