[英]Xamarin Forms iOS IsSpellCheckEnabled not working
I want to DISABLE spell check for an Entry item.我想禁用条目项的拼写检查。 I set this to False in the XAML -- I also set it to false in the code behind when I observed this didn't work as expected on iOS.
我在 XAML 中将其设置为 False——当我观察到这在 iOS 上没有按预期工作时,我也在后面的代码中将其设置为 false。
Bottom line: It doesn't appear to work on iOS. When I enter something iOS thinks is incorrect, it corrects it.底线:它似乎不适用于 iOS。当我输入 iOS 认为不正确的内容时,它会更正它。
Does anyone have any info that might help me?有没有人有任何可能对我有帮助的信息?
UPDATE:更新:
Here is what the code behind looks like:这是背后的代码:
myTxt.IsSpellCheckEnabled = false;
SOLUTION UPDATE (Thanks to Jason): The following is also required...解决方案更新(感谢 Jason):还需要以下内容......
myTxt.IsTextPredictionEnabled = false;
be sure to set IsTextPredictionEnabled = false
too一定要设置
IsTextPredictionEnabled = false
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.