ios - 如何在键盘中隐藏键盘建议视图?
问题描述
如何在键盘中隐藏键盘建议视图?
我尝试了以下方法,但它们不起作用。
amountTextField.textContentType = UITextContentType(rawValue: "")
和amountTextField.autocorrectionType = .no
解决方案
推荐阅读
- java - 如何让 java 程序从文件中只读取一行?
- docker - ansible中的jinja2拆分过滤器
- google-sheets - 每月平均时间公式不起作用
- unity3d - 统一游戏不能作为可执行文件运行
- javascript - 检查对象数组是否包含一个值
- git - 致命:无法创建工作树目录“SaloonApp。”:无效参数
- javascript - 如何使用 php 将表格中的数据显示到表单输入中(完整/准确描述向下)
- debugging - VSCode 调试在调试 Rust 库时显示所有断点的“位置:0”
- google-cloud-functions - Google 功能无法在云计算中打开和关闭 vm 实例
- javascript - 我似乎无法在我的图书馆应用程序上使用切换开关