Custom UItabBarItem ( background image for the selected item)

i would like to implement a UItabBar like this image with a différent selected images for each tabBarItem. is this possible with iOS ? thanks


Yes, set the images via

UITabBarItem initializer initWithTitle:image:tag;

and the color via:

[[UITabBar appearance] setSelectedImageTintColor:[UIColor greenColor]];

though you'll need to specify the exact color to meet your liking.

Need Your Help

Moving pointers instead of objects in some kind of list or queue in Java

java pointers linked-list arraydeque

Java offers a LinkedList implementation of the List interface which is actually a doubly-linked list. If we do the following:

View's holding strong references?

objective-c iphone view weak-references strong-references

Quick question: my ViewController has an IBOutlet for a UILabel would the ViewController's view automatically hold a strong reference to the label? And also, if I programmatically create a

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.