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.

Learn how to program an iOS app using Objective-C right from the start with The iOS Apprentice series. A set of epic tutorials for anyone - even if you've never programmed before.
Read more...
DeliciousTwitterFacebookLinkedInEmail

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 send a Tweet to @maniacdev on Twitter or submit the url here.

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

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

  1. Pingback: NMViewController at Under The Bridge

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>