The config shouldHideBadgeAtZero only works when set before the badge count.
self.settingsBtn.badgeValue = "0"
self.settingsBtn.shouldHideBadgeAtZero = true
will display a badge with value 0.
When changing shouldHideBadgeAtZero it should take the current value into account and update.
The config
shouldHideBadgeAtZeroonly works when set before the badge count.will display a badge with value 0.
When changing
shouldHideBadgeAtZeroit should take the current value into account and update.