添加消息长按弹窗
This commit is contained in:
33
keyBoard/Class/AiTalk/V/Chat/KBChatMessageActionPopView.h
Normal file
33
keyBoard/Class/AiTalk/V/Chat/KBChatMessageActionPopView.h
Normal file
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// KBChatMessageActionPopView.h
|
||||
// keyBoard
|
||||
//
|
||||
// Created by Codex on 2026/2/3.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
typedef NS_ENUM(NSInteger, KBChatMessageActionType) {
|
||||
KBChatMessageActionTypeCopy = 0,
|
||||
KBChatMessageActionTypeDelete = 1,
|
||||
KBChatMessageActionTypeReport = 2,
|
||||
};
|
||||
|
||||
@class KBChatMessageActionPopView;
|
||||
|
||||
@protocol KBChatMessageActionPopViewDelegate <NSObject>
|
||||
@optional
|
||||
- (void)chatMessageActionPopView:(KBChatMessageActionPopView *)view
|
||||
didSelectAction:(KBChatMessageActionType)action;
|
||||
@end
|
||||
|
||||
/// 聊天消息长按操作弹窗(Copy / Delete / Report)
|
||||
@interface KBChatMessageActionPopView : UIView
|
||||
|
||||
@property (nonatomic, weak) id<KBChatMessageActionPopViewDelegate> delegate;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user