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 change tabBarItem.badgeValue ? #10
Comments
Ohh, ESTabBarController returns nil of tabBarController. That's why I was change Pod project of ESTabBarController and add some code. Because of we get PUSH-info in appDelegate.h, we must create some variables here. This varibles are contains count numbers for 4 tabs. Paste from my AppDelegate.m:
For creating of badges on UIView I used this POD: https://github.com/JaviSoto/JSBadgeView |
Hi, @lukitnev! Yeah, However, there's a fork waiting to be merged in #7, that has support for badges. It still has some fixes to do in the code before merging it, but you can use the fork if it fits your needs. Eze |
I'll close this issue as it's covered in #7. |
Thanks for answer. Yes, can close. :) |
How can I change a badge value of tabItem?
I was try:
tabBarController_.tabBarController.selectedViewController.tabBarItem.badgeValue = @"23";
But value not changed. Help, please. :)
The text was updated successfully, but these errors were encountered: