Search code examples
swifttabbar

How can I put an actual image in my tabbar? - swift


I have an actual image in rub color(jpg), that I wanne use as a button in my tabbar. But when I use the image, it is just blue.

How can I override this ?


Solution

  • Use imageWithRenderingMode to get an .AlwaysOriginal rendering of the image and use that.