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 -
- If I use png image instead of svg then it is visible.
I have created converter and usage it as below -
< ShellContent Title="Test" Icon="{Binding Source=img.svg, Converter={StaticResource Key=convertsvg}, ConverterParameter={StaticResource IntHeight}}" />I have tried using < ffimageloadingsvg:SvgCachedImage Source="img.svg" HeightRequest="30" Aspect="AspectFit" /> but not succeed.
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