Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 81910

Not able to show svg images in Xamarin.forms shell iOS in flyoutitem (FFImageLoading)

$
0
0

We are using FFImageLoading to show svg image in Xamarin.Forms Shell app. Its working in android perfectly. In iOS, SVG images are not visible in FlyoutItem and Bottom tab.

iOS behavior -

  1. If I use png image instead of svg then it is visible.
  2. I have created converter and usage it as below -
    < ShellContent Title="Test" Icon="{Binding Source=img.svg, Converter={StaticResource Key=convertsvg}, ConverterParameter={StaticResource IntHeight}}" />

  3. I have tried using < ffimageloadingsvg:SvgCachedImage Source="img.svg" HeightRequest="30" Aspect="AspectFit" /> but not succeed.

  4. In the same project, I am using FFImageLoading in ContentView then there its showing the svg image.

Can anyone help me, how I can use svg in iOS for FlyoutItem? Please help to create custom renderer if it can be achieved using custom renderer?

Thanks in advance.

Rakesh


Viewing all articles
Browse latest Browse all 81910

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>