uitabbarcontroller - Set the background color of UITabBarItem -


Is there an easy way to set the background color of a personalized UITabBarItem?

In my scenario, I would like to use a different image for each of my 2 times of the items, and then I would like to set the background of my 2 times objects in a different background color - each red and green tell.

I'm not setting the background color of the entire tabbar.

You have to set the selected and unselected image.

  [self.tabBarItem setFinishedSelectedImage: [UIImage imageNamed: @ "img"] with the fullest image: [UIImage imageNamed: @ "img"]];    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -