SDWebImage / SDWebImageSVGCoder

A SVG coder plugin for SDWebImage, using Apple's built-in framework
MIT License
103 stars 34 forks source link

Could not display SVG image correctly in SwiftUI #36

Closed koogawa closed 2 years ago

koogawa commented 2 years ago

I want to display SVG image from URL in SwiftUI, I am using SDWebImageSVGCoder but it could not display my image.

AnimatedImage(url: URL(string: "https://d4rgq65mqvxhk.cloudfront.net/public/gift_icons/officialGift%2378548ed1-9c95-4634-b355-ca8c2a53da4f.svg"))

Expected result

Actual result

dreampiggy commented 2 years ago

Please have a try with the new Adobe-SVG-Native based coder implementation:

https://github.com/SDWebImage/SDWebImageSVGNativeCoder

Feedback are welcomed