问题
I have a tab bar and want to set tints that are indipendent based on selected tab, I know I can tint them so they all change to 1 new color, however I havent been able to get them to each take on their own colour when selected. Is there a way to do this?
currently have this, where the tint is just white, i want to tint each one indipendently
回答1:
Select your Tabbar item and in attribute inspector set both Selected Image
and Image
for bar item check below Image for reference.
来源:https://stackoverflow.com/questions/40742285/setting-each-tab-on-tabbarcontroller-a-different-colour-when-selected