Home > database >  How to load external image with SDWebImage
How to load external image with SDWebImage

Time:11-13

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

enter image description here

How to resolve this?

CodePudding user response:

Try to add RenderingMode to your image

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