Action of the “Go” button of the ios keyboard

前端 未结 2 2048
轮回少年
轮回少年 2020-12-24 13:51

How do I bind an action to the Go button of the keyboard in iOS ?

2条回答
  •  感情败类
    2020-12-24 14:19

    You can connect UITextFiled event Did End On Exit in Connections Inspector. It is triggered after tapping Go / Return / whatever you choose as Return Key in Attributes Inspector.

    Connections Inspector

提交回复
热议问题