From 78bf2031b803af1170ded4793bdb82c5615274af Mon Sep 17 00:00:00 2001 From: fish Date: Sun, 12 Jul 2026 16:02:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E7=A9=BA=E7=99=BD=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E9=9A=90=E8=97=8F=E9=94=AE=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Note/FormatterView.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Note/FormatterView.swift b/Note/FormatterView.swift index 4d0c8f2..da369f5 100644 --- a/Note/FormatterView.swift +++ b/Note/FormatterView.swift @@ -40,6 +40,9 @@ struct FormatterView: View { .padding() .navigationTitle("文案格式化") .background(Color(hex: "f2f2f7").ignoresSafeArea()) + .onTapGesture { + UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil) + } .navigationDestination(item: $resultText) { text in ResultView(formattedText: text) }