UITextField text change event

后端 未结 21 1036
南方客
南方客 2020-11-22 06:49

How can I detect any text changes in a textField? The delegate method shouldChangeCharactersInRange works for something, but it did not fulfill my need exactly.

21条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 07:25

    We can easily configure that from Storyboard, CTRL drag the @IBAction and change event as following:

提交回复
热议问题