OGeek|极客世界-中国程序员成长平台

标题: IOS 使用输入附件 View 切换预测 TextView [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 07:04
标题: IOS 使用输入附件 View 切换预测 TextView

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



Best Answer-推荐答案


没有。 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 使用输入附件 View 切换预测 TextView ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30113728/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4