优化长按聊天记录 如果是自己 不要显示举报
This commit is contained in:
@@ -28,6 +28,13 @@ typedef NS_ENUM(NSInteger, KBChatMessageActionType) {
|
||||
|
||||
@property (nonatomic, weak) id<KBChatMessageActionPopViewDelegate> delegate;
|
||||
|
||||
/// 是否显示 “Report” 操作(默认 YES)。
|
||||
/// - 当长按的是右侧用户消息(KBChatUserMessageCell)时,可设置为 NO。
|
||||
@property (nonatomic, assign) BOOL showsReportAction;
|
||||
|
||||
/// 根据是否显示 Report 计算推荐高度
|
||||
+ (CGFloat)preferredHeightWithShowsReportAction:(BOOL)showsReportAction;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user