You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this library and find it very simple and useful.
I want to add a border to my badge (border color and border width).
i modified method refreshBadge in the class UIBarButtonItem+Badge.m as follow:
// Handle badge display when its properties have been changed (color, font, ...)-(void)refreshBadge
{// Change new attributesself.badge.textColor =self.badgeTextColor;
self.badge.backgroundColor =self.badgeBGColor;
self.badge.font =self.badgeFont;
self.badge.layer.borderColor=[UIColor whiteColor].CGColor;
self.badge.layer.borderWidth= 1.5f;
....}
Hi,
I'm using this library and find it very simple and useful.
I want to add a border to my badge (border color and border width).
i modified method
refreshBadge
in the classUIBarButtonItem+Badge.m
as follow:So, I added these two lines:
Please, could you add this in the library and make customizable.
Regards.
The text was updated successfully, but these errors were encountered: