SvgImageSource icon indicating copy to clipboard operation
SvgImageSource copied to clipboard

FromSvgUri() does not work with file:// URIs

Open jaysidri opened this issue 2 years ago • 0 comments

I'm trying to load a SVG file stored in a temp directory evaluated by Path.GetTempPath() -- but this does not seem to work:

Xamarin.Forms.Svg.SvgImageSource.FromSvgUri("file:///Users/jay/Library/Developer/CoreSimulator/Devices/398F23D7-B2A5-4F7C-B949-5E7E3B9AA0F1/data/Containers/Data/Application/B7EC93CF-1340-44CB-8DC5-72FDCD1349A1/tmp/tempPath/svgs/register_icon_pin.svg", 80, 80, Color.Green);

Is this not supported?

jaysidri avatar Sep 23 '21 09:09 jaysidri