I'm trying to set the tab badge number on launch when I receive a push or local notification. Accordingly, I'm trying to set this badge number from the Application Delegate. I can set the badge locally from the tab's view controller with self.tabBarItem.badgeValue
, and I can set up a method to set it which I can call from the delegate, but there must be a better solution.
Any ideas?