首页 > 解决方案 > Flutter textfield 中文输入法崩溃

问题描述

我在 IOS 设备(不是模拟器)中运行我的颤振应用程序。在第一个文本字段中选择中文键盘中的一些字符,然后选择第二个文本字段而不从预测中选择中文字符。请帮助解决这个问题。这是示例图像: 在此处输入图像描述

*** First throw call stack:
(
0   CoreFoundation                      0x000000010b12029b __exceptionPreprocess + 331
1   libobjc.A.dylib                     0x000000010a6c4735 objc_exception_throw + 48
2   CoreFoundation                      0x000000010b1200f5 +[NSException raise:format:] + 197
3   CoreFoundation                      0x000000010b0666e3 -[__NSCFString substringWithRange:] + 163
4   UIKitCore                           0x000000011497fb5a -[UIKeyboardImpl hasMarkedText] + 143
5   UIKitCore                           0x000000011496f3a8 __43-[UIKeyboardImpl generateAutofillCandidate]_block_invoke + 51
6   UIKitCore                           0x00000001149da9bf -[UIKeyboardTaskEntry execute:] + 169
7   UIKitCore                           0x00000001149d91ae -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 374
8   UIKitCore  <…&gt;
Lost connection to device.

标签: formsinputflutter

解决方案


推荐阅读