简体   繁体   English

自定义键盘建议

[英]Custom Keyboard Advice

I am trying to make a custom keyboard like the one below, where they add that row of keys. 我正在尝试制作一个类似下面的自定义键盘,在那里他们添加了那一排键。 Can you point me in some sort of direction code wise. 你能指点我某种方向代码吗? I have already read the documentation. 我已经阅读了文档。 Thanks. 谢谢。

在此输入图像描述

Its not a custom keyboard but a UIView subclass that got attached to the keyboard. 它不是自定义键盘,而是连接到键盘的UIView子类。 You can do this by setting the inputAccessoryView property of your UITextView to your view containing the extra buttons. 您可以通过将UITextViewinputAccessoryView属性设置为包含额外按钮的视图来完成此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM