Cannot get svg from file.
Opened this issue · 1 comments
apovetkin commented
I like your solution and it works with url, but I try to use with file like resources.
Can you please create an example how to add file svg to the project and then use it? I tried many ways and no success.
Many thanks in advanced.
Alex
apovetkin commented
I found how to do that.
- Create a folder Resources in your main project, not .Droid or .iOS
- Make all files as Embedded
- your image = SvgImageSource.FromSvgResource("tiger.svg");