Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source: Library To Add Color (Even Gradients) To Tab Bar Icons

  •  
  •  
  •  
  •  
  •  

Something that I have seen being asked on forums in the past is the question of how to colorize UITabBar icons, you’ve probably seen this behavior in many apps. Typically this is typically done in a completely custom tab bar class, but it can be done using core graphics to and extending apple’s UITabBarController.

I have found an open source library allowing you to do just that allowing you to set a solid color to your tab bar icons or a gradient using the custom VDTabBarController.

You can find the library along with insructions on how to implement it on Github here:
https://github.com/vdemay/VDFramework

There are some limitations (image sizes of 30×30 and no system tab bar items), but if you’ve been looking to add color to your tab bar icons this looks like an easy way to do just that.  Apparently more will be added to the VDFramework in the future.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments