views:

100

answers:

2

I have noticed that some applications (BeejiveIM) that you can put the red badge on a UITab. What message must be passed to add a badge to a tab?

+2  A: 

It's the badgeValue property of the TabBarItem.

UITabBarItem *itemToBadge = [[[myTabBarController tabBar] items] objectAtIndex:indexOfTabToBadge];
itemToBadge.badgeValue = aString;
executor21
+1  A: 

-[UITabBarItem badgeValue]

Dave DeLong