带有FFImageLoading的Xamarin Forms MacOS上不显示GIF加载器

问题描述

在xaml页面中:

xmlns:ffimageloadingsvg="clr-namespace:FFImageLoading.Svg.Forms;assembly=FFImageLoading.Svg.Forms"

还有xaml:

<ffimageloadingsvg:SvgCachedImage DownsampletoViewSize="True"
                                  IsOpaque="True"
                                  VerticalOptions="FillAndExpand"
                                  HorizontalOptions="FillAndExpand"
                                  LoadingPlaceholder="gifloadersvgformat.svg">
     <ffimageloadingsvg:SvgCachedImage.Transformations>
         <fftransformations:CircleTransformation BorderHexColor="#f1f1f1" BorderSize="30" />
     </ffimageloadingsvg:SvgCachedImage.Transformations>
</ffimageloadingsvg:SvgCachedImage>

也尝试了不带svg的情况:

<ffimageloading:CachedImage DownsampletoViewSize="True"
                         IsOpaque="True"
                         VerticalOptions="FillAndExpand"
                         HorizontalOptions="FillAndExpand"
                         LoadingPlaceholder="gifloader.gif">
     <ffimageloading:CachedImage.Transformations>
         <fftransformations:CircleTransformation BorderHexColor="#f1f1f1" BorderSize="30" />
     </ffimageloading:CachedImage.Transformations>
</ffimageloading:CachedImage>

但是gif没有显示。知道问题/解决方法可能是什么吗?在应用程序委托文件中,我具有所需的Init方法以及启动x2转换,如果要使用转换,显然需要进行此转换。

CachedImageRenderer.Init();
var ignore = new CircleTransformation();
var ignoretwo = new TintTransformation(); 

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...