Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set badge value? #13

Open
FarisAlbalawi opened this issue Jul 14, 2019 · 4 comments
Open

How to set badge value? #13

FarisAlbalawi opened this issue Jul 14, 2019 · 4 comments

Comments

@FarisAlbalawi
Copy link

How to set badge value?

@ihassona
Copy link

Hello
Same here if you found the solution for badge please?

@aqeel371
Copy link

I have added badges in pull request #18

@BCSingh
Copy link

BCSingh commented Apr 26, 2020

The badges are being set only while setting the tabbarcontroller. later if set the badge value, it doesn't reflect... Is there a way to do that

@KyleGoslan
Copy link

Seeing similar issue to @BCSingh. Can add the badge when the tab bat it is created, but then cant update it.

This doesn't seem to work:

if let tabItem = self.tabBarItem as? CBTabBarItem {
  tabItem.badgeValue = "10"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants