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

  • Question

  • User234709 posted

    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.


    Friday, March 6, 2020 10:11 AM

All replies

  • User369979 posted

    It seems this is a FFImageLoading issue: https://github.com/luberda-molinet/FFImageLoading/issues/1297 Try to contact the author directly there to see whether it could be solved.

    Monday, March 9, 2020 7:40 AM