ios - How do I update the badge number for uitabbaritem when a new push notification arrives -
how can update badge specific uitabbaritem when new push notification arrives? example activity tab in instagram
you should use following code:
[[[[[self tabbarcontroller] tabbar] items] objectatindex:tabindex] setbadgevalue:badgevaluestring];
Comments
Post a Comment