iphone - Best way to update badgeValue of UITabBarController from a UIView -


I have a Tab Bark Controller set up in AppDelegate and there are some UIViewControllers with some Controller NY Controller. In one, after pushing some UIView, I want to update the badge value item of a separate tabbar item.

What is the best way to do this? I can really think that the only way to value is an NSNotification and a singleton storage, but it seems to work a lot for some simplicity, and I have no information about NSNotifications.

Get me the SuperTabBar Controller Other Viv. TABBRIT.baidvalue = @ "1" (as I have decided on how tab has been selected) was a wild guess but I am not surprised that 't work. Thank you for alku83 which is the correct directions code I have given to you:

Thanks

[[SuperTabBarCentronLar.View Controllers ObjectOutX: 2] TabBarTam] .badgeValue = @ "1";

Comments