Home > front end >  How do you load an external image with SDWebImage?
How do you load an external image with SDWebImage?

Time:11-13

I'm trying to use an external image as a tab bar button. I've seen this with few apps so I thought I'd give it a go.

enter image description here

How can I resolve this?

CodePudding user response:

Try to add RenderingMode to your image

UIImage(named: "tablogo")?.withRenderingMode(.alwaysOriginal)
  • Related