From f3d8689b55cd88833211f57ac3adf80d9788a015 Mon Sep 17 00:00:00 2001 From: dijunkun Date: Sun, 25 Oct 2026 03:01:45 +0800 Subject: [PATCH] [fix] allow alphanumeric password input on iOS, fixes #127 --- apps/ios/CrossDeskMobile/ContentView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/ios/CrossDeskMobile/ContentView.swift b/apps/ios/CrossDeskMobile/ContentView.swift index f5f2582a..43f53d6a 100644 --- a/apps/ios/CrossDeskMobile/ContentView.swift +++ b/apps/ios/CrossDeskMobile/ContentView.swift @@ -750,8 +750,10 @@ private struct PasswordPromptView: View { SecureField("访问密码", text: $password) } } - .keyboardType(.numberPad) + .keyboardType(.asciiCapable) .textContentType(.password) + .textInputAutocapitalization(.never) + .autocorrectionDisabled() .focused($passwordFocused) Button {