处理滚动底部问题

This commit is contained in:
2026-01-29 14:42:49 +08:00
parent 25fbe9b64e
commit 32ebc6fb65
12 changed files with 174 additions and 26 deletions

View File

@@ -43,8 +43,14 @@ typedef NS_ENUM(NSInteger, KBAiChatMessageType) {
/// 是否需要打字机效果(只有当前正在输入的消息才需要)
@property (nonatomic, assign) BOOL needsTypewriterEffect;
/// 是否处于加载状态(用户消息)
@property (nonatomic, assign) BOOL isLoading;
#pragma mark - 便捷构造方法
/// 创建加载中的用户消息
+ (instancetype)loadingUserMessage;
/// 创建用户消息
+ (instancetype)userMessageWithText:(NSString *)text;