简体   繁体   English

添加按钮到键盘工具栏

[英]Add button to keyboard toolbar

I have UIWebView integrated in my app. 我在我的应用程序中集成了UIWebView。 When I'm clicking on text fields inside it keyboard with 3 toolbar button called (<, > and Done). 当我点击其中的文本字段时,键盘上有3个工具栏按钮(<,>和完成)。

工具栏

Is it any way so add custom buttons to that toolbar? 是否有任何方式可以添加自定义按钮到该工具栏?

you can create a custom UIView to instead the inputAccessoryView. 您可以创建一个自定义UIView来代替inputAccessoryView。 After that, add your custom buttons on the custom UIView。 之后,在自定义UIView上添加自定义按钮。

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

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