问题描述
在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 (将#修改为@)