This commit is contained in:
2026-01-27 18:53:19 +08:00
parent b34de116a3
commit db869552e4
16 changed files with 402 additions and 3 deletions

View File

@@ -422,7 +422,12 @@
- (void)updateChatViewBottomInset {
CGFloat bottomSpacing = (self.currentKeyboardHeight > 0.0) ? (self.currentKeyboardHeight + 8.0) : self.baseInputBarBottomSpacing;
CGFloat bottomInset = self.voiceInputBarHeight + bottomSpacing;
// bottomInset chatView avatar
// 20 chatView
CGFloat bottomInset = 20; //
NSLog(@"[KBAIHomeVC] 更新 ChatView bottomInset: %.2f", bottomInset);
for (NSIndexPath *indexPath in self.collectionView.indexPathsForVisibleItems) {
KBPersonaChatCell *cell = (KBPersonaChatCell *)[self.collectionView cellForItemAtIndexPath:indexPath];