Skip to content

SVG Image change to black color #47

@SaulBeto

Description

@SaulBeto

Hi! I'm having a problem when I load an svg image from a URL.

The image color in the browser looks fine but after downloading it in the app implementation, the image changes to black.

I'm using

  • SDWebImageSVGNativeCoder

Tested in two simulators:

  • iPhone 14 pro iOS 16.2
  • iPhone 8 iOS 14.3

I've tested in my own app and in your example app (https://github.com/SDWebImage/SDWebImageSVGNativeCoder) and the result is the same. I've got the black image.

Here are some URL examples:
https://test.yoyumm.4livedemo.com/image/cuisines/4/400/400
https://test.yoyumm.4livedemo.com/image/cuisines/6/400/400

Hopefully, you can help me.

Best wishes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions