Метод | Описание | |
---|---|---|
BadgeBarButtonItem ( ) : System | ||
BadgeBarButtonItem ( UIButton customButton ) : System | ||
RefreshBadge ( ) : void |
Change new attributes
|
|
RemoveBadge ( ) : void | ||
UpdateBadgeValueAnimated ( bool animated ) : void |
Метод | Описание | |
---|---|---|
DuplicateLabel ( UILabel labelToCopy ) : UILabel | ||
InitializeValues ( ) : void | ||
UpdateBadgeFrame ( ) : void |
When the value changes the badge could need to get bigger Calculate expected size to fit new value Use an intermediate label to get expected size thanks to sizeToFit We don't call sizeToFit on the true label to avoid bad display
|
public BadgeBarButtonItem ( UIButton customButton ) : System | ||
customButton | UIButton | |
Результат | System |
public UpdateBadgeValueAnimated ( bool animated ) : void | ||
animated | bool | |
Результат | void |