修改键盘长按立即清空和撤销删除

This commit is contained in:
2025-12-26 11:47:44 +08:00
parent 8e934dd83a
commit 203f104ece
28 changed files with 798 additions and 71 deletions

View File

@@ -9,6 +9,7 @@
#import "KBStreamTextView.h"
#import "KBResponderUtils.h" // UIInputViewController宿
#import "KBInputBufferManager.h"
@interface KBStreamTextView ()
@@ -371,6 +372,7 @@ static inline NSString *KBTrimRight(NSString *s) {
if (rawText.length > 0) {
[proxy insertText:rawText];
}
[[KBInputBufferManager shared] resetWithText:rawText ?: @""];
}
}
}