mustafaibrahim989 / MIBadgeButton-Swift

iOS custom badge button.
MIT License
342 stars 80 forks source link

Button's border displayed above the badge's #19

Open RobinCaroff opened 7 years ago

RobinCaroff commented 7 years ago

Hi my issue is probably the same as the one described in the Objective-C repo (https://github.com/mustafaibrahim989/MIBadgeButton/issues/3).

When using a button's border, the border is displayed above the badge.

For instance:

button.layer.cornerRadius = 5
button.layer.borderColor = UIColor.white.cgColor
button.layer.borderWidth = 1    
button.badgeBackgroundColor = UIColor.blue

produces the following result: screen shot 2016-11-17 at 07 44 51

luai-kalkatawi commented 7 years ago

I have the same issue. @mustafaibrahim989

Did you solve it? @RobinCaroff

Thanks.

RobinCaroff commented 7 years ago

@luai-kalkatawi Nope... Still unsolved.