Deekor Deekor - 2 years ago 187
iOS Question

Change tab bar item selected color in a storyboard

I want to change my tab bar items to be pink when selected instead of the default blue.

How can i accomplish this using the storyboard editor in Xcode 6?

Here are my current setting which are not working, the blue background works but the pink doesnt work:

enter image description here

Answer Source

Add Runtime Color attribute named "tintColor" to the UITabBarItem from the storyboard. This is working.

setting tintColor as Runtime Attribute

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