FFImageLoading:svg没有加载

时间:2017-07-30 13:54:28

标签: c# svg xamarin ffimageloading

我尝试使用FFImageLoading库加载svg图像,但我看到空白图像。

代码:

 <?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
         xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
         xmlns:local="clr-namespace:CrewManagement"
         x:Class="CrewManagement.MainPage"            
         xmlns:abstractions="clr-namespace:ExtendedCells.Forms.Plugin.Abstractions;assembly=ExtendedCells.Forms.Plugin.Abstractions"
         xmlns:ffimageloadingsvg="clr-namespace:FFImageLoading.Svg.Forms;assembly=FFImageLoading.Svg.Forms"
         >

<ContentPage.Content>
<ffimageloadingsvg:SvgCachedImage WidthRequest="200" HeightRequest="200" Source="http://loremflickr.com/600/600/nature?filename=simple.svg"/>
</ContentPage.Content>

此处图片:white image

0 个答案:

没有答案