监听键盘输入更改的方法
self.textFieldBuyOrSell.addTarget(self, action: #selector(self.textFieldChange), for: UIControlEvents.editingChanged)
监听键盘输入更改的方法
self.textFieldBuyOrSell.addTarget(self, action: #selector(self.textFieldChange), for: UIControlEvents.editingChanged)
本文标题:Swift 监听键盘文字的改变
本文链接:https://www.haomeiwen.com/subject/olshkxtx.html
网友评论