UIBarButtonItem(FWBadge)
@interface UIBarButtonItem (FWBadge)
/// 显示右上角提醒灯,上右偏移指定距离
- (void)fw_showBadgeView:(FWBadgeView *)badgeView badgeValue:(nullable NSString *)badgeValue NS_REFINED_FOR_SWIFT;
/// 隐藏提醒灯
- (void)fw_hideBadgeView NS_REFINED_FOR_SWIFT;
@end
Undocumented
-
显示右上角提醒灯,上右偏移指定距离
Declaration
Objective-C
- (void)fw_showBadgeView:(nonnull FWBadgeView *)badgeView badgeValue:(nullable NSString *)badgeValue;
-
隐藏提醒灯
Declaration
Objective-C
- (void)fw_hideBadgeView;