NSInteger count = ([listOfUnread count]) ? [listOfUnread count] : 0;
BBBadgeBarButtonItem *barButton = [[BBBadgeBarButtonItem alloc] initWithCustomUIButton:show];
barButton.badgeValue = [NSString stringWithFormat:@"%lu", count];
barButton.badgeBGColor = colorBadgeColor;
barButton.shouldHideBadgeAtZero = YES;
barButton.shouldAnimateBadge = YES;
this is how im using your framework but when listOfUnread.count is 0 the badge doesnt disappear, it stays there with a 1
this is how im using your framework but when listOfUnread.count is 0 the badge doesnt disappear, it stays there with a 1
http://imgur.com/a/Q0EZh