Skip to content

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

@RobinCaroff

Description

@RobinCaroff

Hi my issue is probably the same as the one described in the Objective-C repo (mustafaibrahim989/MIBadgeButton#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions