How can I put an actual image in my tabbar? - swift [duplicate]
问题 This question already has answers here : Set custom images to the UIBarButtonItem but it doesn't show any image (2 answers) Closed 3 years ago . 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