RCMessageBubbleTipView Class Reference
Inherits from | UIView |
---|---|
Declared in | RCMessageBubbleTipView.h |
bubbleTipText
角标显示的文本
@property (nonatomic, copy) NSString *bubbleTipText
Discussion
角标显示的文本
Declared In
RCMessageBubbleTipView.h
bubbleTipAlignment
角标的位置
@property (nonatomic, assign) RCMessageBubbleTipViewAlignment bubbleTipAlignment
Discussion
角标的位置
默认值为RC_MESSAGE_BUBBLE_TIP_VIEW_ALIGNMENT_TOP_RIGHT,即右上。
Declared In
RCMessageBubbleTipView.h
bubbleTipTextColor
角标文本的颜色
@property (nonatomic, strong) UIColor *bubbleTipTextColor
Discussion
角标文本的颜色
Declared In
RCMessageBubbleTipView.h
bubbleTipTextShadowOffset
角标文本的阴影值
@property (nonatomic, assign) CGSize bubbleTipTextShadowOffset
Discussion
角标文本的阴影值
Declared In
RCMessageBubbleTipView.h
bubbleTipTextShadowColor
角标文本的阴影颜色
@property (nonatomic, strong) UIColor *bubbleTipTextShadowColor
Discussion
角标文本的阴影颜色
Declared In
RCMessageBubbleTipView.h
bubbleTipTextFont
角标文本的字体
@property (nonatomic, strong) UIFont *bubbleTipTextFont
Discussion
角标文本的字体
Declared In
RCMessageBubbleTipView.h
bubbleTipBackgroundColor
角标的背景颜色
@property (nonatomic, strong) UIColor *bubbleTipBackgroundColor
Discussion
角标的背景颜色
Declared In
RCMessageBubbleTipView.h
bubbleTipPositionAdjustment
角标View偏移的Rect
@property (nonatomic, assign) CGPoint bubbleTipPositionAdjustment
Discussion
角标View偏移的Rect
Declared In
RCMessageBubbleTipView.h
frameToPositionInRelationWith
角标依附于的View Rect
@property (nonatomic, assign) CGRect frameToPositionInRelationWith
Discussion
角标依附于的View Rect
Declared In
RCMessageBubbleTipView.h
isShowNotificationNumber
角标是否显示数字
@property (nonatomic) BOOL isShowNotificationNumber
Discussion
角标是否显示数字
如果为NO,会显示红点,不显示具体数字。
Declared In
RCMessageBubbleTipView.h
– initWithParentView:alignment:
初始化角标View
- (instancetype)initWithParentView:(UIView *)parentView alignment:(RCMessageBubbleTipViewAlignment)alignment
Parameters
parentView |
角标依附于的View |
---|---|
alignment |
角标的位置 |
Return Value
角标View对象
Discussion
初始化角标View
Declared In
RCMessageBubbleTipView.h
– setBubbleTipNumber:
设置角标的值
- (void)setBubbleTipNumber:(int)msgCount
Parameters
msgCount |
角标值 |
---|
Discussion
设置角标的值
Declared In
RCMessageBubbleTipView.h