From ae99c2b2f212fdcaa9eb316d14a51de3c2dc759b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=84=E9=BB=9B=E6=B7=B3=E5=8D=8E?= Date: Sat, 7 Dec 2024 16:11:13 +0800 Subject: [PATCH] fix demo has wrong input --- Demo/TextView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Demo/TextView.swift b/Demo/TextView.swift index 7eb51e1b0..7eb190b8a 100644 --- a/Demo/TextView.swift +++ b/Demo/TextView.swift @@ -80,6 +80,7 @@ class Client: NSObject, IMKTextInput { return } textView.insertText(string, replacementRange: replacementRange) + self.replacementRange = nil } }