infernouk infernouk - 1 year ago 122
Swift Question

Setting each tab on TabBarController a different colour when selected?

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


Answer Source

Select your Tabbar item and in attribute inspector set both Selected Image and Image for bar item check below Image for reference.

enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download