IOS切换预测 TextView 与输入附件 View

标签 ios inputaccessoryview

我的键盘上方有一个输入附件 View 及其预测 TextView 。有什么方法可以切换预测 TextView 和我的输入附件 View 的位置吗?

最佳答案

没有。 inputAccessoryView 显示在 iOS 键盘上方。 “预测 TextView ”是 iOS 键盘的一部分

You may also attach an input accessory view to the system keyboard or to a custom input view; this accessory view runs along the top of the main input view and can contain, for example, controls that affect the text in some way or labels that display some information about the text. via Apple

可以通过 UITextAutocorrectionTypeNo 以编程方式隐藏预测 TextView ,但不能在预测 TextView 和键盘之间放置 View 。

input view above predictive text.

关于IOS切换预测 TextView 与输入附件 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30113728/

相关文章:

ios - 键盘隐藏时键盘上方的工具栏不会隐藏

swift - Input Accessory View Behave Unexpected with keyboard 隐藏和显示事件

iOS 11 键盘和配件 View 之间有额外的空间

ios - 使用图像快速更改页面控制点

ios - 没有为 UITextField 正确添加 inputAccessoryView

ios - 在 Xcode 中检索当前 iCloud 帐户信息

ios - 包含对象 : returning NO when isEqual and hash match

ios - 添加到 inputAccessoryView 的 UIButton 未检测到触摸

ios - 开放图谱 Facebook SDK 2.5

ios - Parse.com 以编程方式向类添加一行