12345678910111213141516171819202122 |
- //
- // UITabBar+badge.h
- // RCloudMessage
- //
- // Created by Jue on 16/7/1.
- // Copyright © 2016年 RongCloud. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @interface UITabBar (badge)
- // 把badge设置到最上层
- - (void)bringSubviewToFrontIndex:(NSInteger)index;
- //重写是为了修改badge小红点儿的颜色
- - (void)showBadgeOnItemIndex:(NSInteger)index; //显示小红点
- - (void)showBadgeOnItemIndex:(NSInteger)index badgeValue:(NSInteger)badgeValue; //显示带badge的红点
- - (void)hideBadgeOnItemIndex:(NSInteger)index; //隐藏小红点
- @end
|