Comments (7)
This is due to the animation block. When pulling the code from the animation block, the corners are rounded again, but you lose the animation when the size of the badge is changed.
from bbbadgebarbuttonitem.
Do you know of a way to fix this properly while keeping animation?
from bbbadgebarbuttonitem.
I was able to fix this issue by changing the this code:
[UIView animateWithDuration:duration animations:^{
[self updateBadgeFrame];
}];
to
self.badge.layer.masksToBounds = YES;
[UIView animateWithDuration:duration animations:^{
[self updateBadgeFrame];
}];
from bbbadgebarbuttonitem.
Wondering if this project is still alive enough to accept the pull request that fixes this issue.
from bbbadgebarbuttonitem.
Hi guys,
Sorry for not being reactive on the repo. I have a lot on my plate and did not get the chance to work with it and maintain it.
I wanted to take some time to test the fixes and do some refactoring for a new version.
Anyway I will try to do better next time ;)
from bbbadgebarbuttonitem.
Awesome! Great news, thank you!
from bbbadgebarbuttonitem.
Please, could you update the pod spec version to match the latest code version?
Thanks in advance!
from bbbadgebarbuttonitem.
Related Issues (20)
- Updating badgeValue from AppDelegate didReceiveRemoteNotification HOT 2
- How to add action:@selector to barButton HOT 3
- tintcolor is missing HOT 2
- Broken commit link in https://github.com/CocoaPods/Specs HOT 4
- Please don't delete your release tags HOT 4
- A problem when using BBBadgeBarButtonItem HOT 1
- Badge is square instead of rounded in iOS 9 HOT 1
- ios 9 support not fine HOT 3
- In IOS 9 , ... badge change to rectangle .......can't get rounded badge... ! HOT 1
- Create release and update podspec HOT 2
- UIBarButtons disappeared in iOS 9.2 HOT 6
- @IBOutlet weak var cartBarItem: BBBadgeBarButtonItem! not working..... HOT 1
- It's not supported to RTL mode
- Badge label disappears when adding UISearchBar to navigation bar
- rotating button without the badge
- When count is 0, badges does hide
- Doesnt work with class assigned in interface builder. HOT 1
- Not working in iOS 10 HOT 1
- BadgeSize issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bbbadgebarbuttonitem.