Closed ca13ra1 closed 3 years ago
SwiftUI's Image
doesn't support SVG AFAIK, so no... You may be able to convert the raw SVG data to a Shape
/Path
, or even a PNG first, but swift-request
does not handle that case.
Another option may be to load it into a WKWebView
.
After I was looking into this, I noticed SVG’s weren’t supported. I ended up using a Python script to get all the SVG’s and converted them to PNG’s.
Are SVG images supported or could be supported by
RequestImage
? The API I'm using only allows forSVG
unfortunately.