更改“返回”的文本键盘按钮 [英] Change text of "Return" keyboard button

查看:95
本文介绍了更改“返回”的文本键盘按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将返回按钮的标准文字更改为其他内容?



我想将其设为添加。

$ b不幸的是,您可以使用 returnKeyType 将Return更改为其中一个预定义标签,属性:




  • 返回(默认)

  • 前往

  • Google

  • 加入

  • 下一步

  • 路线


  • 发送

  • Yahoo

  • 完成

  • / li>
  • 继续(从iOS 9开始)



所以也许你应该选择下一步



更多信息此处


How can I change the standard text of the "Return" button to something else?

I want it to be "Add".

解决方案

Unfortunately, you can change "Return" into only one of these predefined labels with the returnKeyType property:

  • Return (default)
  • Go
  • Google
  • Join
  • Next
  • Route
  • Search
  • Send
  • Yahoo
  • Done
  • Emergency Call
  • Continue (as of iOS 9)

So maybe you should choose "Next" if a data entry kind of activity is what you're after.

More information here.

这篇关于更改“返回”的文本键盘按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆