SVG from Data/File on UIImage

SVG is now supported in asset catalogues and works on UIImage when calling UIImage(systemName:); however, I am not sure how to get it from a file or form a Data/NSData object. I have tried saving the image to temporary and then loading using init(contentsOfFile:), and that doesn't work.

I have tried loading it into Data first, and that doesn't work. It seems to only work from within an Asset catalog.

Are SVGs only supported in Asset Catalogues?
Any progress here?
I'm also curious about this and tried the same without any success.

Many of us would like this! I'm mainly interested in use on Mac in NSImage, but it's the same issue - clearly NSImage has the capability since it can be created from an asset, why isn't it possible from loose .svg resource or svg NSData?

SVG from Data/File on UIImage
 
 
Q