问题
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 ?
回答1:
Use imageWithRenderingMode
to get an .AlwaysOriginal
rendering of the image and use that.
来源:https://stackoverflow.com/questions/35996076/how-can-i-put-an-actual-image-in-my-tabbar-swift