1 回答

TA貢獻(xiàn)1815條經(jīng)驗(yàn) 獲得超13個(gè)贊
FFImageLoading.Svg.Forms 支持 gif 圖像。我使用 FFImageLoading 顯示 gif 沒有問題。
<ContentView xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="MyApp.AnimationView"
xmlns:ffimageloading="clr-namespace:FFImageLoading.Svg.Forms;assembly=FFImageLoading.Svg.Forms">
<ffimageloading:SvgCachedImage HeightRequest="30" HorizontalOptions="FillAndExpand" VerticalOptions="Center" Aspect="AspectFill" x:Name="imageWave" Source="Wave.gif" Margin="0"/>
</ContentView>
如果您需要更多信息,請(qǐng)與我們聯(lián)系。
- 1 回答
- 0 關(guān)注
- 295 瀏覽
添加回答
舉報(bào)